forked from gremlin/gremlin-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
39 lines (31 loc) · 1.06 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
import io
import os
from distutils.file_util import copy_file
from setuptools import setup, find_packages
from gremlinapi.util import get_version
__version__ = get_version()
def getRequires():
deps = ["requests>=2.22.0", "urllib3>=1.25.8"]
return deps
dir_path = os.path.abspath(os.path.dirname(__file__))
readme = io.open(os.path.join(dir_path, "README.md"), encoding="utf-8").read()
setup(
name="gremlinapi",
version=str(__version__),
author="Kyle Hultman",
author_email="[email protected]",
url="https://github.com/gremlin/gremlin-python/",
packages=find_packages(exclude=["temp*.py", "test"]),
include_package_data=True,
license="Apache 2.0",
description="Gremlin library for Python",
long_description=readme,
long_description_content_type="text/markdown",
install_requires=getRequires(),
python_requires=">=3.7",
entry_points={"console_scripts": ["pgremlin = gremlinapi.cli:main"]},
classifiers=[
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
],
)