diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..0144a53 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1 @@ +recursive-include pypong * \ No newline at end of file diff --git a/README.md b/README.md index 7c5da17..2ebeaf1 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,4 @@ # PyPong +[![License: GNU GPL v3.0](https://img.shields.io/badge/license-GNU%20GPL%20v3.0-blue)](LICENSE) A game of pong made in PyGame, designed to be used over a network connection. \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index 231dd17..1581372 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1 @@ -pygame \ No newline at end of file +pygame~=2.1.2 \ No newline at end of file diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..d8487e4 --- /dev/null +++ b/setup.py @@ -0,0 +1,26 @@ +import setuptools +import pypong + +with open('requirements.txt') as fh: + required = fh.read().splitlines() + +with open('README.md', 'r') as fh: + long_description = fh.read() + +setuptools.setup( + name='PyPong', + version=pypong.__version__, + author='Nicholas Dyer', + description='A game of pong made in PyGame for play over a local network', + license='GNU GPL-3.0', + long_description=long_description, + long_description_content_type='text/markdown', + url='https://gitea.citruxx.com/ndyer/PyPong', + packages=setuptools.find_packages(), + # https://pypi.org/classifiers/ + classifiers=[ + ], + install_requires=required, + python_requires='>=3.10', + include_package_data=True, +) \ No newline at end of file