diff --git a/.dockerignore b/.dockerignore index d6b5a97..fc23908 100644 --- a/.dockerignore +++ b/.dockerignore @@ -3,5 +3,7 @@ .db .env .git +dist +*.egg* __pycache__ test.py diff --git a/.gitignore b/.gitignore index a8480ec..0e443b2 100644 --- a/.gitignore +++ b/.gitignore @@ -2,5 +2,7 @@ .venv .db .env +dist +*.egg* __pycache__ test.py diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..8b1a9d8 --- /dev/null +++ b/LICENSE @@ -0,0 +1,13 @@ + DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE + Version 2, December 2004 + +Copyright (C) 2004 Sam Hocevar + +Everyone is permitted to copy and distribute verbatim or modified +copies of this license document, and changing it is allowed as long +as the name is changed. + + DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. You just DO WHAT THE FUCK YOU WANT TO. diff --git a/README.md b/README.md index 16ff647..99b6c78 100644 --- a/README.md +++ b/README.md @@ -44,24 +44,8 @@ You have to install MariaDB (or any MySQL server) to be able to access the admin ## Links - Project homepage: https://nyaa.crystalyx.net/ -- Repository: https://git.crystalyx.net/Xefir/PyNyaaTa +- Source repository: https://git.crystalyx.net/Xefir/PyNyaaTa - Issue tracker: https://git.crystalyx.net/Xefir/PyNyaaTa/issues - My other projects: https://git.crystalyx.net/Xefir - -## Licensing - -``` - DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE - Version 2, December 2004 - -Copyright (C) 2004 Sam Hocevar - -Everyone is permitted to copy and distribute verbatim or modified -copies of this license document, and changing it is allowed as long -as the name is changed. - - DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. You just DO WHAT THE FUCK YOU WANT TO. -``` +- Docker hub: https://hub.docker.com/r/xefir/pynyaata +- Donations: https://paypal.me/Xefir diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..6d91971 --- /dev/null +++ b/setup.py @@ -0,0 +1,25 @@ +from setuptools import setup, find_packages + +with open("README.md", "r") as fh: + long_description = fh.read() + +with open('requirements.txt') as f: + requirements = f.read().splitlines() + +setup( + name="PyNyaaTa", + version="0.0.1", + author="Xéfir Destiny", + author_email="xefir@crystalyx.net", + description="𝛑 😼 た, Xéfir's personal animes torrent search engine", + long_description=long_description, + long_description_content_type="text/markdown", + url="https://git.crystalyx.net/Xefir/PyNyaaTa", + packages=find_packages(), + install_requires=requirements, + classifiers=[ + "Programming Language :: Python :: 3", + "Operating System :: OS Independent", + ], + python_requires='>=3.6', +)