Browse Source

Fix setup.py imports

Signed-off-by: Óscar García Amor <ogarcia@connectical.com>
Óscar García Amor 2 years ago
parent
commit
ebb8ad0ec4
2 changed files with 2 additions and 6 deletions
  1. 1 5
      setup.py
  2. 1 1
      sysdweb/__init__.py

+ 1 - 5
setup.py

@@ -9,8 +9,6 @@
 import sysdweb as project
 
 import os
-from pip.download import PipSession
-from pip.req import parse_requirements
 from setuptools import find_packages
 from setuptools import setup
 
@@ -32,9 +30,7 @@ setup(
     url = project.URL,
     long_description=read('README.md'),
     packages=find_packages(),
-    install_requires=[str(x.req) for x in
-                      parse_requirements('requirements.txt',
-                      session=PipSession())],
+    install_requires=read('requirements.txt'),
     package_data={'sysdweb': [
             'templates/static/css/*',
             'templates/static/fonts/*',

+ 1 - 1
sysdweb/__init__.py

@@ -6,7 +6,7 @@
 # Distributed under terms of the GNU GPLv3 license.
 
 NAME = 'sysdweb'
-VERSION = '1.1.2'
+VERSION = '1.1.3'
 AUTHOR_NAME = 'Óscar García Amor'
 AUTHOR_EMAIL = 'ogarcia@connectical.com'
 DESCRIPTION = 'Control systemd services through Web or REST API'