Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathsetup.py
More file actions
Latest commit
41 lines (35 loc) · 1.46 KB
/
Copy pathsetup.py
File metadata and controls
41 lines (35 loc) · 1.46 KB
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
fromsetuptoolsimportsetup
frompathlibimportPath
fromos.pathimportisfile, join
this_directory=Path(__file__).parent
requirements_path=join(this_directory, 'requirements.txt')
defread_requirements(path):
install_requires= []
ifisfile(path):
withopen(path) asf:
install_requires= [lineforlineinmap(str.strip, f.read().splitlines()) iflen(line) >0andnotline.startswith('#')]
returninstall_requires
install_requires=read_requirements(requirements_path)
setup(
name='janusgraphpython',
version='1.1.1',
description='JanusGraph-Python extends Apache TinkerPop™''s Gremlin-Python with support for JanusGraph-specific types.',
long_description=(this_directory/'README.md').read_text(),
long_description_content_type='text/markdown',
url='https://janusgraph.org/',
author='JanusGraph',
license='Apache 2',
packages=['janusgraph_python', 'janusgraph_python.driver',
'janusgraph_python.process', 'janusgraph_python.structure',
'janusgraph_python.structure.io'],
zip_safe=False,
data_files=[('', ['LICENSE.txt', 'DCO.txt', 'CC-BY-4.0.txt', 'APACHE-2.0.txt', 'requirements.txt'])],
test_suite='tests',
install_requires=install_requires,
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Programming Language :: Python :: 3'
]
)