diff options
Diffstat (limited to 'common/setup.py')
-rw-r--r-- | common/setup.py | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/common/setup.py b/common/setup.py index 49d94dad..383745dc 100644 --- a/common/setup.py +++ b/common/setup.py @@ -17,9 +17,18 @@ """ setup file for leap.soledad.common """ +import binascii +import json +from os import listdir +from os.path import realpath, dirname, isdir, join, isfile, basename import re + from setuptools import setup from setuptools import find_packages +from setuptools import Command +from setuptools.command.develop import develop as _cmd_develop + +from pkg import utils import versioneer versioneer.versionfile_source = 'src/leap/soledad/common/_version.py' @@ -27,7 +36,6 @@ versioneer.versionfile_build = 'leap/soledad/common/_version.py' versioneer.tag_prefix = '' # tags are like 1.2.0 versioneer.parentdir_prefix = 'leap.soledad.common-' -from pkg import utils trove_classifiers = ( "Development Status :: 3 - Alpha", @@ -59,9 +67,6 @@ if len(_version_short) > 0: cmdclass = versioneer.get_cmdclass() -from setuptools import Command - - class freeze_debianver(Command): """ Freezes the version in a debian branch. @@ -107,12 +112,6 @@ def get_versions(default={}, verbose=False): # Couch backend design docs file generation. # -from os import listdir -from os.path import realpath, dirname, isdir, join, isfile, basename -import json -import binascii - - old_cmd_sdist = cmdclass["sdist"] @@ -219,9 +218,6 @@ def build_ddocs_py(basedir=None, with_src=True): print "Wrote design docs in %s" % (dest_prefix + '/' + ddoc_filename,) -from setuptools.command.develop import develop as _cmd_develop - - class cmd_develop(_cmd_develop): def run(self): # versioneer: |