|
| 1 | +from setuptools import setup, find_packages |
| 2 | +import pathlib |
| 3 | + |
| 4 | +here = pathlib.Path(__file__).parent.resolve() |
| 5 | + |
| 6 | +# Get the long description from the README file |
| 7 | +long_description = (here / 'README.md').read_text(encoding='utf-8') |
| 8 | + |
| 9 | +setup( |
| 10 | + # TODO: Adjust your project information here |
| 11 | + name='discord-bot', |
| 12 | + version='2.0.0', |
| 13 | + description='A discord bot template', |
| 14 | + long_description=long_description, |
| 15 | + long_description_content_type='text/markdown', |
| 16 | + url='https://github.com/nonchris/discord-bot', |
| 17 | + author='nonchris', |
| 18 | + |
| 19 | + |
| 20 | + project_urls={ |
| 21 | + 'Bug Reports': 'https://github.com/nonchris/discord-bot/issues', |
| 22 | + 'Source': 'https://github.com/https://github.com/nonchris/discord-bot', |
| 23 | + }, |
| 24 | + |
| 25 | + keywords='discord-bot', |
| 26 | + |
| 27 | + python_requires='>=3.8, <4', |
| 28 | + |
| 29 | + install_requires='discord.py ~= 1.7.2', |
| 30 | + |
| 31 | + classifiers=[ |
| 32 | + |
| 33 | + 'Development Status :: 5 - Production/Stable', |
| 34 | + |
| 35 | + 'Environment :: Console', |
| 36 | + |
| 37 | + 'Intended Audience :: Other Audience', |
| 38 | + 'Topic :: Communications :: Chat', |
| 39 | + |
| 40 | + 'License :: OSI Approved :: GNU General Public License v3 (GPLv3)', |
| 41 | + |
| 42 | + 'Programming Language :: Python :: 3', |
| 43 | + 'Programming Language :: Python :: 3.8', |
| 44 | + 'Programming Language :: Python :: 3.9', |
| 45 | + 'Programming Language :: Python :: 3 :: Only', |
| 46 | + |
| 47 | + 'Typing :: Typed', |
| 48 | + ], |
| 49 | + |
| 50 | + package_dir={'': 'src/'}, |
| 51 | + |
| 52 | + packages=find_packages(where='src/'), |
| 53 | + |
| 54 | + entry_points={ |
| 55 | + 'console_scripts': [ |
| 56 | + 'discord-bot=bot:main', |
| 57 | + ], |
| 58 | + }, |
| 59 | +) |
0 commit comments