-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
64 lines (55 loc) · 1.67 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
import os
import imp
import multiprocessing
from setuptools import setup, find_packages
addon = imp.load_source('config', 'config.py')
pkg = addon.FULL_ADDON_NAME
version = imp.load_source('version', os.path.join(pkg, 'version.py'))
def fpath(name):
return os.path.join(os.path.dirname(__file__), name)
def read(fname):
return open(fpath(fname)).read()
def desc():
return read('README.md')
setup(
name=pkg,
version=version.VERSION_STRING,
url='https://github.com/dolfandringa/fab_addon_geoalchemy/',
license='MIT',
author=version.AUTHOR_NAME,
author_email=version.AUTHOR_EMAIL,
description=version.DESCRIPTION,
long_description=desc(),
long_description_content_type="text/markdown",
packages=find_packages(),
include_package_data=True,
package_data={'': ['LICENSE', 'config.py', 'README.md']},
zip_safe=False,
platforms='any',
dependency_links=[
'http://github.com/dolfandringa/Flask-AppBuilder/tarball/develop#egg=Flask-AppBuilder-1.13.0'
],
install_requires=[
'Flask-AppBuilder>=1.13.0',
'shapely',
'sqlalchemy',
'psycopg2',
'GeoAlchemy2'
],
setup_requires=['pytest-runner'],
tests_require=[
'pytest',
'pytest-cov',
'coverage'
],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules'
],
test_suite='pytest'
)