-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
72 lines (68 loc) · 1.78 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
65
66
67
68
69
70
71
72
from os.path import abspath, dirname, join
from setuptools import find_packages, setup
ENTRY_POINTS = '''
[paste.app_factory]
main = asset_tracker:main
[console_scripts]
db_manager = asset_tracker.scripts.seed:init
'''
APPLICATION_CLASSIFIERS = [
'Programming Language :: Python',
'Framework :: Pyramid',
'Framework :: Pyramid :: InvisibleRoads',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: WSGI :: Application',
]
APPLICATION_REQUIREMENTS = [
# architecture
'invisibleroads-posts >= 0.7.15',
'invisibleroads-records >= 0.5.9',
# web
'pyramid',
'pyramid-multiauth',
# database
'alembic',
'psycopg2-binary',
'sqlalchemy',
# test
'pytest',
'webtest',
# geometry
'geoalchemy2',
'geotable',
'shapely',
'utm',
# computation
'networkx',
'numpy',
'pandas',
# excel
'xlrd',
'odfpy',
# shortcut
'invisibleroads-macros-configuration >= 1.0.6',
'invisibleroads-macros-database >= 1.0.2',
]
TEST_REQUIREMENTS = [
'pytest-cov',
]
FOLDER = dirname(abspath(__file__))
DESCRIPTION = '\n\n'.join(open(join(FOLDER, x)).read().strip() for x in [
'README.md', 'CHANGES.md'])
setup(
name='asset-tracker',
version='0.0.7',
description='Asset Tracker',
long_description=DESCRIPTION,
long_description_content_type='text/markdown',
classifiers=APPLICATION_CLASSIFIERS,
author='CrossCompute Inc.',
author_email='[email protected]',
url='https://assets.publicpower.org',
keywords='web wsgi bfg pylons pyramid invisibleroads',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
extras_require={'test': TEST_REQUIREMENTS},
install_requires=APPLICATION_REQUIREMENTS,
entry_points=ENTRY_POINTS)