3

I'm trying to build a Python package for this project that includes the .json files in /fixtures and the *.html files in /templates. When I run the packaging script based off my setup.py, it says it should include those folders in the MANIFEST it generates, but the output just says it's hard-linking them and when I try to install via pip, it dies on the following:

Downloading/unpacking bluetrain
 Running setup.py egg_info for package bluetrain
 error: package directory 'bluetrain/fixtures' does not exist
 Complete output from command python setup.py egg_info:
 running egg_info
writing pip-egg-info/bluetrain.egg-info/PKG-INFO
writing top-level names to pip-egg-info/bluetrain.egg-info/top_level.txt
writing dependency_links to pip-egg-info/bluetrain.egg-info/dependency_links.txt
warning: manifest_maker: standard file '-c' not found
error: package directory 'bluetrain/fixtures' does not exist

EDIT: It looks like this was an issue with legacy crud that built up in the virtualenv I was installing succeeding versions of the package into. Trying a clean virtualenv fixed the issue.

asked Aug 20, 2012 at 17:16
3
  • I gave up for that long time ago... Now I use .deb packages to deploy my code (just saying) Commented Aug 20, 2012 at 17:25
  • 1
    as this is still an open question I think you should answer it with your edit or vote to close it. Commented Oct 7, 2012 at 17:10
  • Done. I was going to close it but then realized it might be an aid to people as dim as I am. Commented Oct 8, 2012 at 16:03

1 Answer 1

1

Fixed this issue by creating a clean virtualenv and trying to build from there. It appears the constant build/ rebuild cycle in the original environment left legacy files behind that were stopping things from working as intended.

answered Oct 8, 2012 at 16:02
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.