Added python setup file
This commit is contained in:
parent
6f5108ec91
commit
7d67cca04e
@ -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
12
setup.py
Normal 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"]
|
||||
)
|
Loading…
Reference in New Issue
Block a user