console/setup.py

168 lines
5.7 KiB
Python
Raw Permalink Normal View History

2016-04-02 00:42:22 +03:00
# coding: utf-8
from setuptools import setup
setup(
name='SWSCloudCore',
2016-11-07 09:28:03 +03:00
version='2.7.9',
2016-04-02 03:07:08 +03:00
author='Vyacheslav Anzhiganov',
author_email='hello@anzhiganov.com',
packages=[
2016-06-11 14:20:56 +03:00
# API
2016-06-09 03:09:58 +03:00
'SWSCloudAPI',
'SWSCloudAPI.API',
2016-06-12 02:54:08 +03:00
'SWSCloudServerAPI',
'SWSCloudServerAPI.ServerAPI',
2016-06-11 14:20:56 +03:00
# Core
2016-04-02 03:07:08 +03:00
'SWSCloudCore',
'SWSCloudCore.controllers',
2016-04-02 03:13:48 +03:00
'SWSCloudCore.controllers.administrators',
2016-04-02 03:07:08 +03:00
'SWSCloudCore.controllers.billing',
'SWSCloudCore.controllers.common',
'SWSCloudCore.controllers.containers',
'SWSCloudCore.controllers.datacenters',
'SWSCloudCore.controllers.ips',
'SWSCloudCore.controllers.kb',
'SWSCloudCore.controllers.payments',
'SWSCloudCore.controllers.plans',
2016-04-02 03:07:08 +03:00
'SWSCloudCore.controllers.servers',
'SWSCloudCore.controllers.settings',
'SWSCloudCore.controllers.tasks',
'SWSCloudCore.controllers.teams',
'SWSCloudCore.controllers.user_settings',
'SWSCloudCore.controllers.users',
2016-05-22 13:05:21 +03:00
'SWSCloudCore.controllers.vms',
2016-06-11 14:20:56 +03:00
# Web
2016-06-14 08:20:26 +03:00
'SWSCloudWeb',
2016-06-12 02:54:08 +03:00
'SWSCloudWeb.views',
'SWSCloudWeb.views.account',
2016-10-17 03:35:52 +03:00
'SWSCloudWeb.views.bills',
2016-10-17 03:57:18 +03:00
'SWSCloudWeb.views.compute',
2016-10-17 03:35:52 +03:00
'SWSCloudWeb.views.compute.containers',
'SWSCloudWeb.views.compute.vms',
2016-06-12 02:54:08 +03:00
'SWSCloudWeb.views.payments',
'SWSCloudWeb.views.settings',
'SWSCloudWeb.views.support',
2016-06-14 08:12:52 +03:00
'SWSCloudWeb.views.tasks',
# Administrator
2016-06-14 08:24:39 +03:00
'SWSCloudAdministrator',
2016-06-14 08:12:52 +03:00
'SWSCloudAdministrator.Administrator',
2016-10-17 03:52:10 +03:00
'SWSCloudAdministrator.Administrator.compute',
2016-10-17 03:35:52 +03:00
# StatisticsClient
'SWSStatisticsClient',
2016-04-02 03:07:08 +03:00
],
package_data={
2016-06-12 02:54:08 +03:00
'SWSCloudWeb': [
2016-05-22 13:05:21 +03:00
# Static files
2016-04-02 03:07:08 +03:00
'static/css/*.css',
'static/images/*.png',
'static/images/cloudns/*.png',
'static/images/control/*.png',
'static/images/payment/*.png',
'static/images/social/*.png',
'static/images/promo/*.png',
'static/js/*.js',
'static/js/foundation/*.js',
'static/js/vendor/*.js',
2016-10-17 03:35:52 +03:00
# New homepage
'static/assets/css/*.css',
'static/assets/img/*.png',
2016-10-20 05:07:21 +03:00
'static/assets/img/testimonials/*.png',
'static/assets/img/testimonials/*.jpg',
2016-10-17 03:35:52 +03:00
'static/assets/js/*.js',
2016-05-22 13:05:21 +03:00
# Templates
2016-04-02 03:07:08 +03:00
'templates/*.html',
2016-06-14 08:05:05 +03:00
'templates/default/*.html',
2016-10-17 03:35:52 +03:00
'templates/default/billing/*.html',
'templates/default/compute/containers/*.html',
'templates/default/compute/vms/*.html',
2016-06-14 08:05:05 +03:00
'templates/default/documents/*.html',
'templates/default/homepage/*.html',
'templates/default/id/*.html',
'templates/default/kb/*.html',
'templates/default/payment/*.html',
'templates/default/payment/robokassa/*.html',
'templates/default/support/*.html',
'templates/default/tasks/*.html',
'templates/email/simple/*.html',
'templates/email/simple/*.css',
2016-10-17 03:35:52 +03:00
# GoCloud2016
'templates/gocloud2016/layouts/*.html',
'templates/gocloud2016/macros/*.html',
'templates/gocloud2016/pages/*.html',
2016-06-15 02:29:43 +03:00
# Errors
2016-06-14 08:05:05 +03:00
'templates/errors/*.html',
],
'SWSCloudAdministrator': [
# Static files
'static/css/*.css',
'static/images/*.png',
'static/images/cloudns/*.png',
'static/images/control/*.png',
'static/images/payment/*.png',
'static/images/social/*.png',
'static/images/promo/*.png',
'static/js/*.js',
'static/js/foundation/*.js',
'static/js/vendor/*.js',
#
2016-04-02 03:07:08 +03:00
'templates/administrator/*.html',
2016-11-07 09:28:03 +03:00
'templates/administrator/compute/containers/*.html',
'templates/administrator/compute/vms/*.html',
2016-04-03 19:10:18 +03:00
'templates/administrator/datacenters/*.html',
2016-05-22 13:05:21 +03:00
'templates/administrator/email/*.html',
2016-04-03 19:10:18 +03:00
'templates/administrator/ips/*.html',
2016-05-22 13:05:21 +03:00
'templates/administrator/plans/*.html',
2016-04-03 19:10:18 +03:00
'templates/administrator/servers/*.html',
2016-04-02 03:07:08 +03:00
'templates/administrator/settings/*.html',
2016-04-03 19:10:18 +03:00
'templates/administrator/settings/messages/*.html',
'templates/administrator/tasks/*.html',
2016-04-02 03:07:08 +03:00
'templates/administrator/users/*.html',
2016-04-03 19:10:18 +03:00
# 'templates/administrator/payments/*.html',
'templates/administrator/wiki/*.html',
'templates/administrator/wiki/article/*.html',
'templates/administrator/wiki/category/*.html',
2016-06-14 08:05:05 +03:00
# Errors
2016-04-03 19:10:18 +03:00
'templates/errors/*.html',
2016-06-14 08:05:05 +03:00
],
2016-04-02 03:07:08 +03:00
},
scripts=[
2016-05-10 02:42:07 +03:00
'cloud-db-init.py',
'cloud-settings.py',
2016-05-10 02:44:22 +03:00
'cloud-settings-init.py',
'cloud-runserver.py',
2016-06-15 02:29:43 +03:00
'cloud-runserver-admin.py',
2016-04-03 19:10:18 +03:00
# accounts
2016-05-10 02:44:22 +03:00
'cloud-admin-add.py',
# 'swscloud-admin-delete.py',
'cloud-admin-ls.py',
'cloud-admin-password.py',
2016-04-03 19:10:18 +03:00
# datacenters
2016-05-10 02:42:07 +03:00
'cloud-dc-add.py',
2016-05-10 02:44:22 +03:00
'cloud-dc-ls.py',
2016-04-03 19:10:18 +03:00
# servers
2016-05-10 02:44:22 +03:00
'cloud-server-add.py',
'cloud-server-ls.py',
# billing
'cloud-cron-balance.py',
2016-04-02 03:07:08 +03:00
],
install_requires=[
2016-04-04 09:59:45 +03:00
'Flask==0.10',
2016-04-03 19:10:18 +03:00
'Flask-Markdown==0.3',
2016-04-04 09:59:45 +03:00
'Flask-Babel==0.9',
'flask-peewee==0.6.0',
2016-10-20 04:30:25 +03:00
'flask-multistatic',
2016-04-02 03:07:08 +03:00
'Jinja2==2.8',
2016-04-04 09:59:45 +03:00
'peewee==2.8',
2016-04-02 03:07:08 +03:00
'validators==0.10',
2016-04-04 09:59:45 +03:00
'psycopg2==2.6.1',
2016-04-02 03:07:08 +03:00
'configparser',
2016-04-04 09:59:45 +03:00
'flask_httpauth==3.1.1',
'requests==2.7',
2016-04-03 19:10:18 +03:00
'uWSGI==2.0.11.1',
'wsgiref==0.1.2',
'sshpubkeys==1.0.6',
2016-10-17 04:04:08 +03:00
'dateutils',
2016-04-02 03:07:08 +03:00
]
2016-04-02 00:42:22 +03:00
)