mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-02-07 12:50:32 +03:00
chore: fix directory where to find binary package after build
This commit is contained in:
parent
e6e465c509
commit
77039cad63
|
@ -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``.
|
||||
|
||||
|
|
|
@ -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():
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user