Commit a7dba0d0 authored by Marek Chrastina's avatar Marek Chrastina

Merge branch 'ver' into 'master'

Fix showing 0.0.0 version

See merge request !6
parents c569896b f7e6c162
Pipeline #9324 passed with stages
in 3 minutes and 21 seconds
......@@ -22,7 +22,7 @@ pylint:
before_script:
- export PYTHONIOENCODING=UTF-8
- export LC_CTYPE=en_US.UTF-8
- python setup.py egg_info
- python -W ignore::UserWarning:distutils.dist setup.py egg_info
- pip install $(paste -d " " -s pipdeps.egg-info/requires.txt)
script:
- pylint $(find . -type f -not -path "*/.eggs/*" -name "*.py")
......@@ -56,6 +56,7 @@ Install test:
script:
- source .venv/bin/activate
- pip install dist/pipdeps*tar.gz
- pip list
- pipdeps -l || true
- pipdeps -u
......
......@@ -55,6 +55,8 @@ def upgrade_package(data):
"""
pip install --upgrade "<package>==<versions>"
"""
if not data:
return
to_upgrade = []
for package, version in data:
to_upgrade.append("%s==%s" % (package, version))
......
"""
pipdeps setup
"""
from distutils.core import setup
import setuptools # noqa
#from setuptools import setup, find_packages
from setuptools import setup, find_packages
setup(
name='pipdeps',
......@@ -21,7 +19,7 @@ setup(
author_email='support@it4i.cz',
url='https://code.it4i.cz/sccs/pip-deps',
license='GPLv3+',
packages=setuptools.find_packages(),
packages=find_packages(),
namespace_packages=['pipdeps'],
include_package_data=True,
zip_safe=False,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment