From c3f9925f140c4665cd960fce36b19a700696fa19 Mon Sep 17 00:00:00 2001 From: Colin Dunklau Date: Tue, 31 Dec 2019 16:54:34 +0100 Subject: [PATCH] Add setup.py and tox --- .gitignore | 2 ++ setup.py | 10 ++++++++++ tox.ini | 6 ++++++ 3 files changed, 18 insertions(+) create mode 100644 setup.py create mode 100644 tox.ini diff --git a/.gitignore b/.gitignore index e3f5333..ebdd425 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ *.py[co] venv/ +.tox/ +*.egg-info diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..e4acb74 --- /dev/null +++ b/setup.py @@ -0,0 +1,10 @@ +from setuptools import setup + +setup( + name='gistit', + version='0.1.0-dev', + author='Colin Dunklau', + author_email='colin.dunklau@gmail.com', + py_modules=['gistit'], + install_requires=['requests >=2.0,<3.0'], +) diff --git a/tox.ini b/tox.ini new file mode 100644 index 0000000..5dfabab --- /dev/null +++ b/tox.ini @@ -0,0 +1,6 @@ +[tox] +envlist = py27,py36,py37 + +[testenv] +commands = + {envpython} -m unittest gistit