# HG changeset patch # User alain@leufroy.fr # Date 1460997336 -7200 # Mon Apr 18 18:35:36 2016 +0200 # Node ID e7fbd14683ff15acb8540179b6d79e24e159bdc3 # Parent 573f5101666215ed1ec7cfc2c9422aafce803e4a [pkg] prepare 0.3.0 diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,7 @@ +include LICENSE.txt +include requirements.txt +include dev-requirements.txt +include CONTRIBUTORS.txt +include pylintrc +include setup.cfg +include tests/*.py \ No newline at end of file diff --git a/setup.cfg b/setup.cfg --- a/setup.cfg +++ b/setup.cfg @@ -1,10 +1,10 @@ [setup] name = lairucrem -version = 0.2.0 +version = 0.3.0 author = Alain Leufroy author_email = Alain Leufroy url = http://bitbucket.org/aleufroy/lairucrem -download_url = http://bitbucket.org/aleufroy/lairucrem/get/0.2.0.zip +download_url = http://bitbucket.org/aleufroy/lairucrem/get/0.3.0.zip keywords = dvcs, mercurial, UI, interactive, console classifiers = Environment :: Console :: Curses License :: Freely Distributable diff --git a/setup.py b/setup.py --- a/setup.py +++ b/setup.py @@ -16,8 +16,8 @@ import ConfigParser as configparser # I do not want to document it :P -USE_SETUPTOOLS = os.environ.get('USE_SETUPTOOLS') -if USE_SETUPTOOLS: +NO_SETUPTOOLS = os.environ.get('NO_SETUPTOOLS') +if not NO_SETUPTOOLS: import setuptools # DRY: retrieve data from external files @@ -54,7 +54,7 @@ def get_dependencies(): """Read dependencies from requirements.txt""" install_requires = [] - if not USE_SETUPTOOLS: + if NO_SETUPTOOLS: return install_requires with open(b'requirements.txt', b'r',) as requirements: for line in requirements: