generate Windows exe

Bug #1359360 reported by Szépe Viktor
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
python-swiftclient
Fix Released
Undecided
Alessandro Pilotti

Bug Description

Now bin\swift can only be started by python Scripts\swift.
(Windows does not support extensionless scripts)
Maybe I did it wrong, this is my first encounter with setuptools.

https://github.com/openstack/python-swiftclient/pull/14

(p.s. it worked for me, generated the exe)

Tags: mirror windows
Revision history for this message
Szépe Viktor (szepe.viktor) wrote :
tags: added: windows
Changed in python-swiftclient:
status: New → Confirmed
assignee: nobody → Alessandro Pilotti (alexpilotti)
Revision history for this message
Alessandro Pilotti (alexpilotti) wrote :

It didn't pick up the review automatically for some reason:

https://review.openstack.org/#/c/115782/

Revision history for this message
Szépe Viktor (szepe.viktor) wrote :

ConnectionError: HTTPConnectionPool(host='pypi.openstack.org', port=80): Max retries exceeded with url: /packages/3.4/s/setuptools/setuptools-5.7-py2.py3-none-any.whl (Caused by <class 'httplib.BadStatusLine'>: )

Revision history for this message
Szépe Viktor (szepe.viktor) wrote :

... in gate-python-swiftclient-python26

Revision history for this message
Szépe Viktor (szepe.viktor) wrote :

All green.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-swiftclient (master)

Reviewed: https://review.openstack.org/115782
Committed: https://git.openstack.org/cgit/openstack/python-swiftclient/commit/?id=cb059f2f3ea821ead1ab2a93077dd40d86aa57d2
Submitter: Jenkins
Branch: master

commit cb059f2f3ea821ead1ab2a93077dd40d86aa57d2
Author: Alessandro Pilotti <email address hidden>
Date: Wed Aug 20 23:53:12 2014 +0300

    Adds console script entry point

    A Swift client executable needs to be provided on Windows since Python scripts
    cannot be executed directly.

    This approach is also consistent with other OpenStack Python clients (e.g.
    Nova, Neutron, Cinder, etc.).

    Change-Id: I7f03b7c305dceed4fa6f4fe1c1281659820606e4
    Closes-Bug: #1359360

Changed in python-swiftclient:
status: Confirmed → Fix Committed
Changed in python-swiftclient:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.