New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Script .tmpl files missing in 5.0.1 #220

Closed
bb-migration opened this Issue Jun 15, 2014 · 3 comments

Comments

Projects
None yet
1 participant
@bb-migration

bb-migration commented Jun 15, 2014

Originally reported by: mordred (Bitbucket: mordred, GitHub: mordred)


Installing setuptools 5.0.1 into a fresh virtualenv leaves one without setuptools/script (dev).tmpl, leading to errors such as:

error: [Errno 2] No such file or directory: '/home/mordred/src/openstack/python-swiftclient/.tox/py27/local/lib/python2.7/site-packages/setuptools/script (dev).tmpl'


@bb-migration

This comment has been minimized.

bb-migration commented Jun 15, 2014

Original comment by jaraco (Bitbucket: jaraco, GitHub: jaraco):


I'll create a test to ensure this doesn't happen in the future.

@bb-migration

This comment has been minimized.

bb-migration commented Jun 15, 2014

Original comment by jaraco (Bitbucket: jaraco, GitHub: jaraco):


Include the script template files - fixes #220

The rename of the script template files to be .tmpl put them
into the realm of package data, rather than python files that
would be bundled automatically. Include them specifically in
package data so that they'll actually be installed.

@bb-migration

This comment has been minimized.

bb-migration commented Jun 15, 2014

Original comment by jaraco (Bitbucket: jaraco, GitHub: jaraco):


In 4cc424f7fffe and 1a50ddc05a8e, I started work to extract the functionality for testing, but I realize now that testing that functionality means testing the released code (sdist or installed sdist), and not just the in-place code, so I'm going to punt for now on adding tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment