forked from mpenning/ciscoconfparse
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We're using specification in setup.py extras_require that generates correct metadata in sdist and wheel packages. Previous use of conditional statements produced different metadata for different versions of Python used during the sdist/wheel build. This approach is compatible with older versions of setuptools. It was chosen over the newer syntax where environment markers can be used in the install_requires. The implementation of new approach in setuptools is just moving such entries from install_requires into keyless marker extras_require anyway. This fixes mpenning#127.
- Loading branch information
Showing
2 changed files
with
9 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,4 @@ | ||
colorama | ||
passlib | ||
|
||
[:python_version<'3'] | ||
ipaddr>=2.1.11 | ||
dnspython | ||
|
||
[:python_version>='3'] | ||
ipaddress | ||
dnspython3 | ||
ipaddr>=2.1.11; python_version<'3' | ||
passlib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters