Distribute to pypi
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Michel Roux 2020-04-09 19:36:12 +02:00
parent 67c33e0615
commit 914c1104ad
5 changed files with 45 additions and 19 deletions

View File

@ -3,5 +3,7 @@
.db
.env
.git
dist
*.egg*
__pycache__
test.py

2
.gitignore vendored
View File

@ -2,5 +2,7 @@
.venv
.db
.env
dist
*.egg*
__pycache__
test.py

13
LICENSE Normal file
View File

@ -0,0 +1,13 @@
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
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.

View File

@ -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 <sam@hocevar.net>
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

25
setup.py Normal file
View File

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