Added python setup file

This commit is contained in:
Manuel Cortez 2019-05-20 15:40:04 -05:00
parent 6f5108ec91
commit 7d67cca04e
2 changed files with 17 additions and 1 deletions

View File

@ -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

12
setup.py Normal file
View File

@ -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"]
)