diff --git a/README.md b/README.md index cf65467..3a67e8c 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,11 @@ Python-funkwhale is a lightweight wrapper over the [Funkwhale](https://funkwhale ## Installation -So far, the API wrapper is still considered unstable, a proper setup file is in the works. As soon as I can be sure everything works as expected, I will add a setup file here so it can be installed as a proper Pytohn package. For now, the only way to use this package is by copying the funkwhale folder in a directory present in os.path so it can be found during imports. +``` +git clone https://code.manuelcortez.net/manuelcortez/python-funkwhale +cd python-funkwhale +python setup.py install +``` ## usage diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..578b19a --- /dev/null +++ b/setup.py @@ -0,0 +1,12 @@ +from setuptools import setup + +setup(name="funkwhale", + version="0.1.0", + author="Manuel cortez", + author_email="manuel@manuelcortez.net", + url="https://code.manuelcortez.net/manuelcortez/python-funkwhale", + packages=["funkwhale"], + long_description=open("readme.md", "r").read(), + description="Python wrapper for the Funkwhale API.", + install_requires=["requests"] + ) \ No newline at end of file