From a39c150c494997a4da781e021e4c5d4b503cf7dc Mon Sep 17 00:00:00 2001 From: QasimK Date: Sun, 15 May 2016 10:58:31 +0100 Subject: [PATCH] Update setup instructions --- .gitignore | 18 ++++++++++-------- README.rst | 9 +++++++++ setup.py | 16 ++++++++++------ 3 files changed, 29 insertions(+), 14 deletions(-) diff --git a/.gitignore b/.gitignore index a74475a..f864492 100644 --- a/.gitignore +++ b/.gitignore @@ -36,14 +36,6 @@ htmlcov # Translations *.mo -# Mr Developer -.mr.developer.cfg -.project -.pydevproject -.idea -*.iml -*.komodoproject - # Complexity output/*.html output/*/index.html @@ -51,6 +43,16 @@ output/*/index.html # Sphinx docs/_build +# Developer Files +*.sublime-project +*.sublime-workspace +.mr.developer.cfg +.project +.pydevproject +.idea +*.iml +*.komodoproject + .DS_Store *~ .*.sw[po] diff --git a/README.rst b/README.rst index ce460da..f760604 100644 --- a/README.rst +++ b/README.rst @@ -80,6 +80,15 @@ https://mal-scraper.readthedocs.io/ Development =========== +After cloning the repository and creating a virtualenv, install the development +dependencies (including tox):: + + pip install -e .[develop] + +You should install Python interpreters 3.3, 3.4, 3.5, and pypy because tox will +test on all of them. +(Hints: (Linux)[https://askubuntu.com/questions/125342/how-can-i-install-python-2-6-on-12-04].) + To run the all tests run:: tox diff --git a/setup.py b/setup.py index 08d95c3..7b46334 100644 --- a/setup.py +++ b/setup.py @@ -22,6 +22,14 @@ def read(*names, **kwargs): ).read() +requirements = [] + + +test_requirements = [ + 'tox' +] + + setup( name='mal-scraper', version='0.1.0', @@ -59,12 +67,8 @@ setup( keywords=[ # eg: 'keyword1', 'keyword2', 'keyword3', ], - install_requires=[ - # eg: 'aspectlib==1.1.1', 'six>=1.7', - ], + install_requires=requirements, extras_require={ - # eg: - # 'rst': ['docutils>=0.11'], - # ':python_version=="2.6"': ['argparse'], + 'develop': test_requirements, }, )