-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from nonchris/packaging
Packaging
- Loading branch information
Showing
11 changed files
with
99 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
include LICENSE.txt | ||
|
||
include setup.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
from setuptools import setup, find_packages | ||
import pathlib | ||
|
||
here = pathlib.Path(__file__).parent.resolve() | ||
|
||
# Get the long description from the README file | ||
long_description = (here / 'README.md').read_text(encoding='utf-8') | ||
|
||
setup( | ||
# TODO: Adjust your project information here | ||
name='discord-bot', | ||
version='2.0.0', | ||
description='A discord bot template', | ||
long_description=long_description, | ||
long_description_content_type='text/markdown', | ||
url='https://github.com/nonchris/discord-bot', | ||
author='nonchris', | ||
author_email='[email protected]', | ||
|
||
project_urls={ | ||
'Bug Reports': 'https://github.com/nonchris/discord-bot/issues', | ||
'Source': 'https://github.com/https://github.com/nonchris/discord-bot', | ||
}, | ||
|
||
keywords='discord-bot', | ||
|
||
python_requires='>=3.8, <4', | ||
|
||
install_requires='discord.py ~= 1.7.2', | ||
|
||
classifiers=[ | ||
|
||
'Development Status :: 5 - Production/Stable', | ||
|
||
'Environment :: Console', | ||
|
||
'Intended Audience :: Other Audience', | ||
'Topic :: Communications :: Chat', | ||
|
||
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)', | ||
|
||
'Programming Language :: Python :: 3', | ||
'Programming Language :: Python :: 3.8', | ||
'Programming Language :: Python :: 3.9', | ||
'Programming Language :: Python :: 3 :: Only', | ||
|
||
'Typing :: Typed', | ||
], | ||
|
||
package_dir={'': 'src/'}, | ||
|
||
packages=find_packages(where='src/'), | ||
|
||
entry_points={ | ||
'console_scripts': [ | ||
'discord-bot=bot:main', | ||
], | ||
}, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
from .main import start_bot | ||
|
||
|
||
def main(): | ||
start_bot() |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.