forked from franzinc/agraph-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
61 lines (54 loc) · 2.28 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
#!/usr/bin/env python
###############################################################################
# Copyright (c) 2006-2016 Franz Inc.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# which accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-v10.html
###############################################################################
from setuptools import find_packages, setup
import sys
import subprocess
# Necessary when running from sources...
sys.path.append('./src')
import franz
version = franz.__version__
with open('README.rst', 'rb') as f:
long_description = f.read().decode('utf-8')
install_requires = ['future>=0.18.2', 'requests>=2.23.0', 'iso8601>=0.1.12', 'six>=1.10.0' ]
tests_require = []
setup(name='agraph-python',
version=version,
description='AllegroGraph Python client',
long_description=long_description,
author='Franz Inc.',
author_email='support@franz.com',
url='http://franz.com/agraph/support/documentation/current/python-tutorial/python-API.html',
license='MIT',
include_package_data=True,
packages=find_packages('src'),
package_dir={'': 'src'},
package_data={'franz': ['VERSION']},
install_requires=install_requires,
tests_require=tests_require,
# To use these, install like this: pip install agraph-python-client[curl]
extras_require={
'simplejson': ['simplejson>=2.0.9'],
'curl': ['pycurl>=7.19.0,<8.0']
},
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Topic :: Database',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules',
])