diff options
Diffstat (limited to 'common/setup.py')
-rw-r--r-- | common/setup.py | 22 |
1 files changed, 2 insertions, 20 deletions
diff --git a/common/setup.py b/common/setup.py index 365006b2..f4d8bc65 100644 --- a/common/setup.py +++ b/common/setup.py @@ -234,23 +234,6 @@ class cmd_develop(_cmd_develop): # versioneer powered -old_cmd_sdist = cmdclass["sdist"] - - -class cmd_sdist(old_cmd_sdist): - """ - Generate 'src/leap/soledad/common/ddocs.py' which contains couch design - documents scripts. - """ - def run(self): - old_cmd_sdist.run(self) - - def make_release_tree(self, base_dir, files): - old_cmd_sdist.make_release_tree(self, base_dir, files) - build_ddocs_py(basedir=base_dir) - - -# versioneer powered old_cmd_build = cmdclass["build"] @@ -262,7 +245,6 @@ class cmd_build(old_cmd_build): cmdclass["freeze_debianver"] = freeze_debianver cmdclass["build"] = cmd_build -cmdclass["sdist"] = cmd_sdist cmdclass["develop"] = cmd_develop @@ -288,9 +270,9 @@ setup( ), classifiers=trove_classifiers, namespace_packages=["leap", "leap.soledad"], - packages=find_packages('src', exclude=['leap.soledad.common.tests']), + packages=find_packages('src', exclude=['*.tests', '*.tests.*']), package_dir={'': 'src'}, - test_suite='leap.soledad.common.tests.load_tests', + test_suite='leap.soledad.common.tests', install_requires=utils.parse_requirements(), tests_require=utils.parse_requirements( reqfiles=['pkg/requirements-testing.pip']), |