Spaces:
Runtime error
Runtime error
Update setup.py
Browse files
setup.py
CHANGED
|
@@ -1,7 +1,42 @@
|
|
| 1 |
from setuptools import find_packages, setup
|
| 2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
setup(
|
| 4 |
-
name='
|
| 5 |
-
packages=find_packages(),
|
| 6 |
version='0.1.0',
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
)
|
|
|
|
| 1 |
from setuptools import find_packages, setup
|
| 2 |
|
| 3 |
+
try:
|
| 4 |
+
with open('README.md', 'r') as readme:
|
| 5 |
+
long_description = readme.read()
|
| 6 |
+
except Exception:
|
| 7 |
+
long_description = None
|
| 8 |
+
|
| 9 |
+
with open('requirements.txt') as f:
|
| 10 |
+
requirements = f.readlines()
|
| 11 |
+
|
| 12 |
setup(
|
| 13 |
+
name='t5s',
|
| 14 |
+
packages=find_packages("src"),
|
| 15 |
version='0.1.0',
|
| 16 |
+
description="T5 Summarisation Using Pytorch Lightning",
|
| 17 |
+
license='MIT License',
|
| 18 |
+
classifiers=[
|
| 19 |
+
# How mature is this project? Common values are
|
| 20 |
+
# 3 - Alpha
|
| 21 |
+
# 4 - Beta
|
| 22 |
+
# 5 - Production/Stable
|
| 23 |
+
'Development Status :: 4 - Beta',
|
| 24 |
+
|
| 25 |
+
# Pick your license as you wish (should match "license" above)
|
| 26 |
+
'License :: OSI Approved :: MIT License',
|
| 27 |
+
|
| 28 |
+
"Programming Language :: Python :: 3",
|
| 29 |
+
"Operating System :: OS Independent",
|
| 30 |
+
],
|
| 31 |
+
python_requires='>=3.6',
|
| 32 |
+
install_requires=requirements,
|
| 33 |
+
zip_safe=False,
|
| 34 |
+
long_description=long_description,
|
| 35 |
+
long_description_content_type='text/markdown',
|
| 36 |
+
url="https://dagshub.com/gagan3012/summarization.git",
|
| 37 |
+
entry_points={
|
| 38 |
+
'console_scripts': [
|
| 39 |
+
't5s=t5s.cli.cli:main',
|
| 40 |
+
]
|
| 41 |
+
},
|
| 42 |
)
|