|
45 | 45 | os.system("rm -f dist/*.egg; rm -f dist/*.tar.gz; rm -f dist/*.whl")
|
46 | 46 | os.system("rm -rf build/bdist.*; rm -rf build/lib")
|
47 | 47 | print("\n*** Installing build: *** (Required for PyPI uploads)\n")
|
48 |
| - os.system("python -m pip install --upgrade 'build>=0.10.0'") |
| 48 | + os.system("python -m pip install --upgrade 'build'") |
49 | 49 | print("\n*** Installing pkginfo: *** (Required for PyPI uploads)\n")
|
50 |
| - os.system("python -m pip install --upgrade 'pkginfo>=1.9.6'") |
| 50 | + os.system("python -m pip install --upgrade 'pkginfo'") |
51 | 51 | print("\n*** Installing readme-renderer: *** (For PyPI uploads)\n")
|
52 |
| - os.system("python -m pip install --upgrade 'readme-renderer>=40.0'") |
| 52 | + os.system("python -m pip install --upgrade 'readme-renderer'") |
| 53 | + print("\n*** Installing jaraco.classes: *** (For PyPI uploads)\n") |
| 54 | + os.system("python -m pip install --upgrade 'jaraco.classes'") |
| 55 | + print("\n*** Installing more-itertools: *** (For PyPI uploads)\n") |
| 56 | + os.system("python -m pip install --upgrade 'more-itertools'") |
| 57 | + print("\n*** Installing zipp: *** (Required for PyPI uploads)\n") |
| 58 | + os.system("python -m pip install --upgrade 'zipp'") |
| 59 | + print("\n*** Installing importlib-metadata: *** (For PyPI uploads)\n") |
| 60 | + os.system("python -m pip install --upgrade 'importlib-metadata'") |
| 61 | + print("\n*** Installing keyring, requests-toolbelt: *** (For PyPI)\n") |
| 62 | + os.system("python -m pip install --upgrade keyring requests-toolbelt") |
53 | 63 | print("\n*** Installing twine: *** (Required for PyPI uploads)\n")
|
54 |
| - os.system("python -m pip install --upgrade 'twine>=4.0.2'") |
55 |
| - print("\n*** Installing tqdm: *** (Required for PyPI uploads)\n") |
56 |
| - os.system("python -m pip install --upgrade tqdm") |
| 64 | + os.system("python -m pip install --upgrade 'twine'") |
57 | 65 | print("\n*** Rebuilding distribution packages: ***\n")
|
58 | 66 | os.system("python -m build") # Create new tar/wheel
|
59 | 67 | print("\n*** Publishing The Release to PyPI: ***\n")
|
|
0 commit comments