Add files for pip installation #1

Merged
ndyer merged 4 commits from structure-building into main 2022-12-20 09:24:10 -05:00
4 changed files with 29 additions and 1 deletions

1
MANIFEST.in Normal file
View File

@ -0,0 +1 @@
recursive-include pypong *

View File

@ -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.

View File

@ -1 +1 @@
pygame
pygame~=2.1.2

26
setup.py Normal file
View File

@ -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,
)