summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2015-08-19 15:22:55 -0400
committerKali Kaneko <kali@leap.se>2015-08-19 15:22:55 -0400
commitee9ab32cd3cbe6a4fa73401a45faff6a36d16acf (patch)
tree671c22cc44591eb3a072e7e49d884a43142a8278 /server
parentedf54f4a2c59990c91544614d6014a900a8e3af3 (diff)
[style] pep8 cleanups
Diffstat (limited to 'server')
-rw-r--r--server/setup.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/server/setup.py b/server/setup.py
index e7ccb4dc..b3942551 100644
--- a/server/setup.py
+++ b/server/setup.py
@@ -21,6 +21,9 @@ import os
import re
from setuptools import setup
from setuptools import find_packages
+from setuptools import Command
+
+from pkg import utils
import versioneer
versioneer.versionfile_source = 'src/leap/soledad/server/_version.py'
@@ -28,8 +31,6 @@ versioneer.versionfile_build = 'leap/soledad/server/_version.py'
versioneer.tag_prefix = '' # tags are like 1.2.0
versioneer.parentdir_prefix = 'leap.soledad.server-'
-from pkg import utils
-
isset = lambda var: os.environ.get(var, None)
if isset('VIRTUAL_ENV') or isset('LEAP_SKIP_INIT'):
data_files = None
@@ -68,9 +69,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.