-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·68 lines (61 loc) · 1.88 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
#!/usr/bin/env python
"""Setuptools setup."""
import os
from setuptools import setup, find_packages
with open('README.rst') as fp:
readme = fp.read()
with open('HISTORY.rst') as fp:
history = fp.read().replace('.. :changelog:', '')
# Enable setting version higher for testing
PY2NEO_MAX_VERSION = os.environ.get('PY2NEO_MAX_VERSION', '2')
install_requires = [
'boltons',
'py2neo>=1.6,<={}.999'.format(PY2NEO_MAX_VERSION),
'py2neo_compat~=1.0.0pre0',
'pyyaml',
]
tests_require = [
'pytest',
'pytest-cov',
'pytest-forked',
'pathlib2; python_version<"3"',
]
setup(
name='gryaml',
use_scm_version=True,
description='Represent Neo4j graph data as YAML.',
long_description=readme + '\n\n' + history,
author='Wil Cooley',
author_email='wcooley@nakedape.cc',
url='https://github.com/wcooley/python-gryaml',
packages=find_packages(where='src', include=['gryaml']),
package_dir={'': 'src'},
include_package_data=True,
install_requires=install_requires,
setup_requires=['setuptools_scm'],
tests_require=tests_require,
extras_require={
'test': tests_require,
},
license='MIT',
zip_safe=False,
keywords='yaml py2neo neo4j gryaml',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: Implementation :: PyPy',
],
entry_points={
'console_scripts': [
'gryaml-load = gryaml.__main__:__main__',
],
},
)