sclorg / rpm-list-builder

RPM List Builder helps you to build a list of defined RPM packages including Software Collection from the recipe file
GNU General Public License v2.0
4 stars 8 forks source link

Using "." in requirements.txt to prevent duplicated information #98

Open junaruga opened 7 years ago

junaruga commented 7 years ago

Right now our setup.py and requirements.txt have duplicated information for each other.

https://github.com/sclorg/rpm-list-builder/blob/master/setup.py

    install_requires=[
        'PyYAML',
        'retry',
        'click',
        'typing;python_version<"3.5"',
    ],

https://github.com/sclorg/rpm-list-builder/blob/master/requirements.txt

PyYAML
retry
click
typing; python_version < "3.5"

However look at rebase-helper's case. They are managing the packages to using "." in requirements.txt without duplicated information Shall we use this way for rpm-list-builder?

https://github.com/rebase-helper/rebase-helper/blob/master/requirements.txt https://github.com/rebase-helper/rebase-helper/blob/master/setup.py