From 58d51aaac3624c65fe1f42a2e5b4dbd4ae933dd7 Mon Sep 17 00:00:00 2001 From: sophia Date: Fri, 2 Sep 2016 15:29:58 -0500 Subject: [PATCH 1/2] Allow user to specify source files --- anaconda_verify/const.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anaconda_verify/const.py b/anaconda_verify/const.py index 4766335..989c78c 100644 --- a/anaconda_verify/const.py +++ b/anaconda_verify/const.py @@ -25,7 +25,7 @@ 'always_include_files'}, 'requirements': {'build', 'run'}, 'app': {'entry', 'icon', 'summary', 'type', 'cli_opts'}, - 'test': {'requires', 'commands', 'files', 'imports'}, + 'test': {'requires', 'commands', 'files', 'imports', 'source_files'}, 'about': {'license', 'license_url', 'license_family', 'license_file', 'summary', 'description', 'home', 'doc_url', 'dev_url'}, } From e884c798b02262e191b4846b0c362758cf6181d2 Mon Sep 17 00:00:00 2001 From: sophia Date: Fri, 2 Sep 2016 15:30:13 -0500 Subject: [PATCH 2/2] Add ability to 'develop' to setup --- setup.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 9735b5d..6219556 100644 --- a/setup.py +++ b/setup.py @@ -2,8 +2,12 @@ # All Rights Reserved import re from os.path import join +import sys -from distutils.core import setup +if 'develop' in sys.argv: + from setuptools import setup +else: + from distutils.core import setup # read version from anaconda_verify/__init__.py