setup.py (1457B)
1 from pathlib import Path 2 from setuptools import setup, find_packages 3 4 HERE = Path(__file__).parent 5 6 README = (HERE / 'README.md').read_text() 7 8 VERSION = '2.0.0' 9 10 setup( 11 name='txtv', 12 version=VERSION, 13 description='CLI for reading swedish text-tv', 14 long_description=README, 15 long_description_content_type='text/markdown', 16 url='https://github.com/voidcase/txtv', 17 download_url=f'https://github.com/voidcase/txtv/archive/v{VERSION}.tar.gz', 18 author='Isak Lindhé', 19 author_email='isak.e.lindhe@gmail.com', 20 license='GPLv3+', 21 py_modules=['txtv'], 22 packages=find_packages(), 23 python_requires='>=3.6', 24 classifiers=[ 25 'Programming Language :: Python :: 3', 26 'Programming Language :: Python :: 3.6', 27 'Programming Language :: Python :: 3.7', 28 'Environment :: Console', 29 'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)', 30 'Operating System :: POSIX', 31 'Operating System :: MacOS', 32 'Topic :: Internet :: WWW/HTTP :: Dynamic Content :: News/Diary', 33 'Natural Language :: Swedish', 34 ], 35 install_requires=[ 36 'beautifulsoup4', 37 'colorama', 38 'requests', 39 ], 40 entry_points={ 41 'console_scripts': [ 42 'txtv=txtv.txtv:run', 43 ], 44 } 45 )