From 53e9b52e0a6803534bf3055db13719c1422801fa Mon Sep 17 00:00:00 2001 From: ndyer Date: Tue, 20 Dec 2022 09:10:04 -0500 Subject: [PATCH 1/4] updated README.md to include license tag --- README.md | 1 + 1 file changed, 1 insertion(+) 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 From 4db14a5d18629123f7f35a0a75583ee8bb96939d Mon Sep 17 00:00:00 2001 From: ndyer Date: Tue, 20 Dec 2022 09:12:49 -0500 Subject: [PATCH 2/4] added setup.py --- setup.py | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 setup.py 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 From dd0c3488b70b3c390b8ffd8cc5194db0d36ca73c Mon Sep 17 00:00:00 2001 From: ndyer Date: Tue, 20 Dec 2022 09:13:18 -0500 Subject: [PATCH 3/4] changed requirements.txt to ensure pygame is running a compatible version --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From f01ee67906932e7e680329f74c88a104085cd76b Mon Sep 17 00:00:00 2001 From: ndyer Date: Tue, 20 Dec 2022 09:14:30 -0500 Subject: [PATCH 4/4] added MANIFEST.in --- MANIFEST.in | 1 + 1 file changed, 1 insertion(+) create mode 100644 MANIFEST.in 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