diff --git a/doc/release.rst b/doc/release.rst index 088bfa44..fbeaaf44 100644 --- a/doc/release.rst +++ b/doc/release.rst @@ -52,11 +52,11 @@ How to make a psycopg2 release - When the workflows have finished download the packages using the ``download_packages_{github|appveyor}.py`` scripts from the ``scripts/build`` directory. They will be saved in a - ``packages/psycopg2-${VERSION}`` directory. + ``wheelhouse/psycopg2-${VERSION}`` directory. - Only for stable packages: upload the signed packages on PyPI:: - $ twine upload -s packages/psycopg2-${VERSION}/* + $ twine upload -s wheelhouse/psycopg2-${VERSION}/* - Create a release and release notes in the psycopg website, announce to psycopg and pgsql-announce mailing lists. @@ -69,7 +69,7 @@ Releasing test packages Test packages may be uploaded on the `PyPI testing site`__ using:: - $ twine upload -s -r testpypi packages/psycopg2-${VERSION}/* + $ twine upload -s -r testpypi wheelhouse/psycopg2-${VERSION}/* assuming `proper configuration`__ of ``~/.pypirc``. diff --git a/scripts/build/download_packages_appveyor.py b/scripts/build/download_packages_appveyor.py index 0e73dbc2..471cdbea 100755 --- a/scripts/build/download_packages_appveyor.py +++ b/scripts/build/download_packages_appveyor.py @@ -69,7 +69,7 @@ def main(): fn = af["fileName"] if fn.startswith("dist/"): fn = fn.split("/", 1)[1] - dest = Path("packages") / fn + dest = Path("wheelhouse") / fn logger.info(f"downloading {dest}") resp = s.get( f"{API_URL}/buildjobs/{job['jobId']}/artifacts/{af['fileName']}" @@ -81,7 +81,7 @@ def main(): with dest.open("wb") as f: f.write(resp.content) - logger.info("now you can run: 'twine upload -s packages/*'") + logger.info("now you can run: 'twine upload -s wheelhouse/*'") def parse_cmdline(): diff --git a/scripts/build/download_packages_github.py b/scripts/build/download_packages_github.py index 0d0a0da5..abfbad9d 100755 --- a/scripts/build/download_packages_github.py +++ b/scripts/build/download_packages_github.py @@ -57,7 +57,7 @@ def main(): resp.raise_for_status() artifacts = resp.json()["artifacts"] - dest = Path("packages") + dest = Path("wheelhouse") if not dest.exists(): logger.info(f"creating dir {dest}") dest.mkdir(parents=True)