-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathsetup.py
48 lines (43 loc) · 1.5 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
import pathlib
import setuptools
import pkg_resources
# The directory containing this file
HERE = pathlib.Path(__file__).parent
# The text of the README file
README = (HERE / "README.md").read_text(encoding='utf-8')
with pathlib.Path('docs/requirements.txt').open() as requirements_txt:
install_requires = [
str(requirement)
for requirement
in pkg_resources.parse_requirements(requirements_txt)
]
# Read meta-data
about = {}
exec(open('openhands/__version.py').read(), about)
# Install
setuptools.setup(
name="OpenHands",
version=about["__version__"],
description="👐OpenHands : Making Sign Language Recognition Accessible",
long_description=README,
long_description_content_type="text/markdown",
url="https://openhands.ai4bharat.org",
download_url="https://pypi.org/project/OpenHands",
project_urls={
'Source': "https://github.com/AI4Bharat/OpenHands",
'Issues': "https://github.com/AI4Bharat/OpenHands/issues",
'Documentation': "https://openhands.readthedocs.io",
},
author="AI4Bhārat",
# packages=["openhands"],
packages=setuptools.find_packages(),
# packages=setuptools.find_packages(exclude=("tests",)),
include_package_data=True,
install_requires=install_requires,
classifiers=[
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development :: Libraries"
],
)