From 4bf752319763a8aeb735c3ac70c2bcb571f928b1 Mon Sep 17 00:00:00 2001 From: D Anzorge Date: Thu, 24 Nov 2016 14:11:07 +0100 Subject: [PATCH] Add setup files Minimal setup files which should allow installation as a package and generation of wheel files. Note that there is currently no version number. --- setup.cfg | 7 +++++++ setup.py | 6 ++++++ 2 files changed, 13 insertions(+) create mode 100644 setup.cfg create mode 100644 setup.py diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..14c6824 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,7 @@ +[bdist_wheel] +universal=1 + +[build_sphinx] +source-dir = docs +build-dir = docs/build +all_files = 1 diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..4b5b11f --- /dev/null +++ b/setup.py @@ -0,0 +1,6 @@ +from setuptools import setup, find_packages + +setup(name='Mastodon.py', + description='Python wrapper for the Mastodon API', + packages=['mastodon'], + install_requires=['requests'])