Mercurial > hgrepos > Python > libs > ConfigMix
comparison setup.py @ 199:852f6c0c9298
Need a PyYAML version < 4.
PyYAML 5 is out -- which dropped support for Python 2.6. Because we support
Python 2.6 stay at version 3.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Sat, 04 May 2019 14:23:09 +0200 |
| parents | 28e6c1413947 |
| children | a8b2346e2330 |
comparison
equal
deleted
inserted
replaced
| 198:0b855758ba08 | 199:852f6c0c9298 |
|---|---|
| 25 | 25 |
| 26 with open(os.path.join(pkg_root, "README.txt"), "rt") as rf: | 26 with open(os.path.join(pkg_root, "README.txt"), "rt") as rf: |
| 27 long_description = rf.read() | 27 long_description = rf.read() |
| 28 | 28 |
| 29 yaml_requirements = [ | 29 yaml_requirements = [ |
| 30 "PyYAML>=3.0", | 30 "PyYAML>=3.0,<4", |
| 31 ] | 31 ] |
| 32 | 32 |
| 33 toml_requirements = [ | 33 toml_requirements = [ |
| 34 "toml>=0.10", | 34 "toml>=0.10", |
| 35 ] | 35 ] |
