Skip to content
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

Make setup.py less of a disaster #3

Open
thieman opened this issue May 26, 2013 · 3 comments
Open

Make setup.py less of a disaster #3

thieman opened this issue May 26, 2013 · 3 comments

Comments

@thieman
Copy link
Owner

thieman commented May 26, 2013

Even if the only improvement made was to figure out how to make package_data work on directories, that would be huge.

This is me on setup.py

@brainwane
Copy link
Contributor

We could use something like

joinedupnames = [os.path.join(dirpath,filename) for dirpath, _dirname, filenames in os.walk('daemon/static/lib/') for filename in filenames]

earlier in setup.py and then refer to joinedupnames in the package data.

@brainwane
Copy link
Contributor

Could we list the files in MANIFEST.in and then, in setup.py, set include_package_data=True?

@thieman
Copy link
Owner Author

thieman commented Nov 2, 2013

That would still leave us the problem of defining files when we really want to define folders, right?

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

No branches or pull requests

2 participants