Compare commits

...

5 Commits

Author SHA1 Message Date
simon 709d1dea65
add documentation to build 2022-08-12 14:28:02 +07:00
simon 967e8f37f6
simplify documentation 2022-08-12 14:25:08 +07:00
simon 17980b6940
fix build tag 2022-08-12 14:10:12 +07:00
simon 278270468c
bump version 2022-08-12 14:02:48 +07:00
simon 0c753a079c
ignore build folder 2022-08-12 14:02:11 +07:00
5 changed files with 6 additions and 13 deletions

1
.gitignore vendored
View File

@ -6,6 +6,7 @@ notes.md
# builds
dist/
build/
ryd_client.egg-info/
# cache

View File

@ -1,8 +0,0 @@
# RYD Client
Python client library for the **Return YouTube Dislike API**:
- [https://returnyoutubedislike.com/](https://returnyoutubedislike.com/)
- [https://github.com/Anarios/return-youtube-dislike/](https://github.com/Anarios/return-youtube-dislike/)
Documentation and usage examples are on [GitHub](https://github.com/bbilly1/ryd-client).

View File

@ -40,12 +40,12 @@ function publish {
read -r VERSION
echo "$VERSION"
git push all
git push
find dist/ -type f ! -name "*$VERSION*" -exec trash {} \;
python -m build
twine upload dist/*
git tag -a "$VERSION" -m "new release version $VERSION"
git push all "$VERSION"
git push "$VERSION"
}
if [[ $1 == "publish" ]]; then

View File

@ -9,7 +9,7 @@ from time import sleep
import requests
API_URL = "https://returnyoutubedislikeapi.com"
HEADERS = {"User-Agent": "https://github.com/bbilly1/ryd-client v0.0.3"}
HEADERS = {"User-Agent": "https://github.com/bbilly1/ryd-client v0.0.5"}
class Login:

View File

@ -2,12 +2,12 @@
import setuptools
with open("README_SHORT.md", "r", encoding="utf-8") as fh:
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setuptools.setup(
name="ryd-client",
version="0.0.3",
version="0.0.5",
author="Simon",
author_email="simobilleter@gmail.com",
description="api client for returnyoutubedislike.com",