Remove explicit version in requirements

This commit is contained in:
Yeison 2021-04-22 11:26:48 -05:00
parent 1e66e8edf0
commit 9b908d0215
4 changed files with 13 additions and 22 deletions

View File

@ -1512,7 +1512,9 @@
</attribute>
<layout class="QGridLayout" name="gridLayout_29">
<item row="0" column="0">
<widget class="QWidget" name="widget" native="true"/>
<widget class="QWidget" name="widget" native="true">
<layout class="QGridLayout" name="gridLayout_34"/>
</widget>
</item>
</layout>
</widget>

View File

@ -1,16 +1,8 @@
pipreqs --savepath requirements.tmp --force qt_material
rm requirements.txt
sed '/PyQt5/d' requirements.tmp >> requirements.txt
mv requirements.txt requirements.tmp
sed '/PyQt6/d' requirements.tmp >> requirements.txt
mv requirements.txt requirements.tmp
sed '/PySide2/d' requirements.tmp >> requirements.txt
mv requirements.txt requirements.tmp
sed '/PySide6/d' requirements.tmp >> requirements.txt
rm requirements.tmp
cat requirements.txt
pipreqs --savepath requirements.txt --force qt_material
sed -i '/PyQt5/d' requirements.txt
sed -i '/PyQt6/d' requirements.txt
sed -i '/PySide2/d' requirements.txt
sed -i '/PySide6/d' requirements.txt
sed -i 's/==.*//' requirements.txt
python -c "[print(f'\'{line[:-1]}\',') for line in open('requirements.txt').readlines()]"

View File

@ -1 +1 @@
Jinja2==2.11.3
Jinja2

View File

@ -7,12 +7,9 @@ with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
with open('requirements.txt') as f:
requirements = f.read().splitlines()
setup(
name='qt-material',
version='2.8.5',
version='2.8.6',
packages=['qt_material',
'qt_material.resources',
'qt_material.resources.source'],
@ -24,7 +21,7 @@ setup(
download_url='https://github.com/UN-GCPDS/qt-material',
install_requires=requirements,
install_requires=['Jinja2'],
python_requires='>=3.7',