-
Notifications
You must be signed in to change notification settings - Fork 59
/
Copy pathsetup.py
31 lines (28 loc) · 967 Bytes
/
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
import os
import setuptools
with open("README.md", "r") as fh:
long_description = fh.read()
thelibFolder = os.path.dirname(os.path.realpath(__file__))
requirementPath = thelibFolder + '/requirements.txt'
if os.path.isfile(requirementPath):
with open(requirementPath) as f:
install_requires = f.read().splitlines()
setuptools.setup(
name="openue",
version="0.2.5",
author="zxlzr",
author_email="[email protected]",
description="An open toolkit of universal extraction from text.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/zjunlp/openue",
package_dir={"": "src"},
packages=setuptools.find_packages("src"),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
install_requires=install_requires,
python_requires='>=3.6'
)