packaged new-style

This commit is contained in:
əlemi 2022-02-20 13:12:50 +01:00
parent d12b4b4f88
commit 39dcfc4245
22 changed files with 37 additions and 32 deletions

7
pyproject.toml Normal file
View file

@ -0,0 +1,7 @@
[build-system]
requires = [
"setuptools>=42",
"wheel"
]
build-backend = "setuptools.build_meta"

View file

@ -1,5 +0,0 @@
setproctitle
termcolor
apscheduler
aiocraft
aioconsole

30
setup.cfg Normal file
View file

@ -0,0 +1,30 @@
[metadata]
name = treepuncher
version = 0.0.2
author = alemi
author_email = me@alemi.dev
description = An hackable Minecraft client, built with aiocraft
long_description = file: README.md
long_description_content_type = text/markdown
url = https://github.com/alemidev/treepuncher
project_urls =
Bug Tracker = https://github.com/alemidev/treepuncher/issues
classifiers =
Programming Language :: Python :: 3
License :: OSI Approved :: MIT License
Operating System :: OS Independent
[options]
install_requires =
setproctitle
termcolor
apscheduler
aioconsole
aiocraft
package_dir =
= src
packages = find:
python_requires = >=3.6
[options.packages.find]
where = src

View file

@ -1,27 +0,0 @@
from setuptools import setup, find_packages
with open("requirements.txt") as f:
requirements = f.read().split("\n")
setup(
name='treepuncher',
version='0.0.2',
description='An hackable Minecraft client, built with aiocraft',
url='https://github.com/alemidev/treepuncher',
author='alemi',
author_email='me@alemi.dev',
license='MIT',
packages=find_packages(),
package_data = {
'treepuncher': ['py.typed'],
},
install_requires=requirements,
classifiers=[
'Development Status :: 1 - Planning',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
],
)