'FULL_REVISIONID', VERSION_REVISION) versioneer_cfg = versioneer.get_config_from_root('.') with open(versioneer_cfg.versionfile_source, 'w') as f: f.write(subst_template) cmdclass = versioneer.get_cmdclass() cmdclass["freeze_debianver"] = freeze_debianver # XXX add ref to docs requirements = utils.parse_requirements() dependency_links = [] if utils.is_develop_mode(): print print ("[WARNING] Skipping leap-specific dependencies " "because development mode is detected.") print ("[WARNING] You can install " "the latest published versions with " "'pip install -r pkg/requirements-leap.pip'") print ("[WARNING] Or you can instead do 'python setup.py develop' " "from the parent folder of each one of them.") print else: requirements += utils.parse_requirements( reqfiles=["pkg/requirements-leap.pip"]) for requirement in requirements: if requirement.startswith('http'): dependency_links.append(requirement)
subst_template = freeze_debianver.template.format( version=version_short, full_revisionid=version_full) + freeze_debianver.templatefun with open(path, 'w') as f: f.write(subst_template) if sys.argv[:1] == '--sumo': IS_SUMO = True else: IS_SUMO = False cmdclass = versioneer.get_cmdclass() cmdclass["freeze_debianver"] = freeze_debianver parsed_reqs = utils.parse_requirements() if utils.is_develop_mode() or IS_SUMO: print("") print ("[WARNING] Skipping leap-specific dependencies " "because development mode is detected.") print ("[WARNING] You can install " "the latest published versions with " "'pip install -r pkg/requirements-leap.pip'") print ("[WARNING] Or you can instead do 'python setup.py develop' " "from the parent folder of each one of them.") print("") else: parsed_reqs += utils.parse_requirements( reqfiles=["pkg/requirements-leap.pip"]) def copy_reqs(path, withsrc=False):
class cmd_build(old_cmd_build): def run(self): old_cmd_build.run(self) build_ddocs_py(basedir=self.build_lib, with_src=False) cmdclass["freeze_debianver"] = freeze_debianver cmdclass["build"] = cmd_build cmdclass["develop"] = cmd_develop # XXX add ref to docs requirements = utils.parse_requirements() if utils.is_develop_mode(): print print ("[WARNING] Skipping leap-specific dependencies " "because development mode is detected.") print ("[WARNING] You can install " "the latest published versions with " "'pip install -r pkg/requirements-leap.pip'") print ("[WARNING] Or you can instead do 'python setup.py develop' " "from the parent folder of each one of them.") print else: requirements += utils.parse_requirements( reqfiles=["pkg/requirements-leap.pip"]) setup( name='leap.soledad.common',
subst_template = freeze_debianver.template.format( version=version_short, version_full=version_full) + freeze_debianver.templatefun with open(path, 'w') as f: f.write(subst_template) if sys.argv[:1] == '--sumo': IS_SUMO = True else: IS_SUMO = False cmdclass["freeze_debianver"] = freeze_debianver parsed_reqs = utils.parse_requirements() if utils.is_develop_mode() or IS_SUMO: print("") print("[WARNING] Skipping leap-specific dependencies " "because development mode is detected.") print("[WARNING] You can install " "the latest published versions with " "'pip install -r pkg/requirements-leap.pip'") print("[WARNING] Or you can instead do 'python setup.py develop' " "from the parent folder of each one of them.") print("") else: parsed_reqs += utils.parse_requirements( reqfiles=["pkg/requirements-leap.pip"]) leap_launcher = 'bitmask=leap.bitmask.app:start_app'