mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-25 18:33:44 +03:00
Don't build .exe packages anymore
This commit is contained in:
parent
47b93efcf8
commit
39f12bbfc5
|
@ -81,8 +81,6 @@ test_script:
|
|||
artifacts:
|
||||
- path: dist\psycopg2-*\*.whl
|
||||
name: wheel
|
||||
- path: dist\psycopg2-*\*.exe
|
||||
name: exe
|
||||
|
||||
|
||||
# vim: set ts=4 sts=4 sw=4:
|
||||
|
|
|
@ -54,11 +54,6 @@ How to make a psycopg2 release
|
|||
``scripts/build`` directory. They will be saved in a
|
||||
``packages/psycopg2-${VERSION}`` directory.
|
||||
|
||||
- Remove the ``.exe`` from the dir, because we don't want to upload them on
|
||||
PyPI::
|
||||
|
||||
$ rm -v packages/psycopg2-${VERSION}/*.exe
|
||||
|
||||
- Only for stable packages: upload the signed packages on PyPI::
|
||||
|
||||
$ twine upload -s packages/psycopg2-${VERSION}/*
|
||||
|
|
|
@ -321,15 +321,11 @@ def patch_package_name():
|
|||
|
||||
|
||||
def build_binary_packages():
|
||||
"""Create wheel/exe binary packages."""
|
||||
"""Create wheel binary packages."""
|
||||
os.chdir(opt.package_dir)
|
||||
|
||||
add_pg_config_path()
|
||||
|
||||
# Build .exe packages for whom still use them
|
||||
if opt.package_name == 'psycopg2':
|
||||
run_python(['setup.py', 'bdist_wininst', "-d", opt.dist_dir])
|
||||
|
||||
# Build .whl packages
|
||||
run_python(['setup.py', 'bdist_wheel', "-d", opt.dist_dir])
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user