-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
64 lines (63 loc) · 2.59 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
"""Setuptools Module."""
from setuptools import setup, find_packages
setup(
name="productionsystem",
version="0.1",
packages=find_packages(),
install_requires=['future',
'CherryPy',
'jinja2',
'daemonize',
'enum34;python_version<"3.4"',
'configparser;python_version<"3"',
'requests',
'SQLAlchemy',
'pymysql',
# 'mysql-python',
'rpyc>=4.1.0',
'suds;python_version<"3"',
'suds-py3;python_version>"3"',
'gitpython',
'psutil',
'mock' # can use inbuild mock after 3.X but imports will have to change
],
extras_require={
'doc': ['Sphinx', 'sphinxcontrib-httpdomain'],
'dev': ['Sphinx',
'sphinxcontrib-httpdomain',
'pylint',
'pycodestyle',
'pydocstyle',
'pytest',
'coverage',
'pytest-cov'],
},
setup_requires=["pytest-runner"],
tests_require=["pytest", 'coverage', 'pytest-cov', 'pytest-pylint', 'pytest-pep8', 'pytest-pep257'],
test_suit="tests",
entry_points={
'dbmodels': ['diracjobs = productionsystem.sql.models.DiracJobs:DiracJobs',
'parametricjobs = productionsystem.sql.models.ParametricJobs:ParametricJobs',
'requests = productionsystem.sql.models.Requests:Requests'],
'monitoring': ['daemon = productionsystem.monitoring.MonitoringDaemon:MonitoringDaemon'],
'webapp.services': ['htmlpageserver = productionsystem.webapp.services.HTMLService:HTMLPageServer'],
'webapp': [
# 'jinja2_loader = None', # This can be filled out by plugins to load their templates
'daemon = productionsystem.webapp.WebApp:WebApp'
]
},
scripts=['scripts/webapp-daemon.py',
'scripts/monitoring-daemon.py',
'scripts/dirac-daemon.py',
'scripts/userdb-update.py',
'scripts/service-status.sh',
'scripts/stop-services.sh'],
package_data={'productionsystem': ['webapp/static_resources/*', 'webapp/templates/*']},
# metadata for upload to PyPI
author="Alexander Richards",
author_email="[email protected]",
description="Production System",
license="MIT",
keywords="production",
url="https://github.com/alexanderrichards/ProductionSystem"
)