|
| 1 | +from setuptools import setup, find_packages |
| 2 | + |
| 3 | +__author__ = "Saad Mairaj" |
| 4 | +__version__ = "0.0.1" |
| 5 | + |
| 6 | + |
| 7 | +def get_long_description(path): |
| 8 | + """Opens and fetches text of long descrition file.""" |
| 9 | + with open(path, 'r') as f: |
| 10 | + return f.read() |
| 11 | + |
| 12 | + |
| 13 | +attrs = dict( |
| 14 | + name='boolean_question', |
| 15 | + version=__version__, |
| 16 | + packages=find_packages(), |
| 17 | + long_description=get_long_description('README.md'), |
| 18 | + description='Boolean question-answer prediction with AI', |
| 19 | + long_description_content_type='text/markdown', |
| 20 | + author=__author__, |
| 21 | + |
| 22 | + url='https://github.com/Saadmairaj/boolean-question', |
| 23 | + license='Apache', |
| 24 | + python_requires='>=3', |
| 25 | + install_requires=[ |
| 26 | + 'gdown', |
| 27 | + 'torch', |
| 28 | + 'torchvision', |
| 29 | + 'transformers', |
| 30 | + 'pandas', |
| 31 | + 'numpy', |
| 32 | + ], |
| 33 | + keywords=[ |
| 34 | + 'question-answer', |
| 35 | + 'nlp', |
| 36 | + 'pytorch', |
| 37 | + 'AI', |
| 38 | + 'artificial-intelligence', |
| 39 | + 'deep-learning', |
| 40 | + 'natural-language-processing' |
| 41 | + ], |
| 42 | + classifiers=[ |
| 43 | + 'Development Status :: 5 - Production/Stable', |
| 44 | + 'Intended Audience :: Developers', |
| 45 | + 'Intended Audience :: Education', |
| 46 | + "Intended Audience :: Science/Research", |
| 47 | + 'Operating System :: OS Independent', |
| 48 | + 'Programming Language :: Python :: 3', |
| 49 | + 'Programming Language :: Python :: 3.7', |
| 50 | + 'Programming Language :: Python :: 3.8', |
| 51 | + 'Programming Language :: Python :: 3.9', |
| 52 | + "Topic :: Scientific/Engineering :: Artificial Intelligence", |
| 53 | + 'License :: OSI Approved :: Apache Software License', |
| 54 | + ], |
| 55 | + project_urls={ |
| 56 | + 'Bug Reports': 'https://github.com/Saadmairaj/boolean-question/issues', |
| 57 | + 'Source': 'https://github.com/Saadmairaj/boolean-question', |
| 58 | + 'Ask Question': "https://github.com/Saadmairaj/boolean-question/discussions", |
| 59 | + }, |
| 60 | + include_package_data=True, |
| 61 | +) |
| 62 | + |
| 63 | +setup(**attrs) |
0 commit comments