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

setup.py fails on Windows due to incorrect handling of sub-directories for packages #82

Closed
munslowa opened this issue Sep 11, 2012 · 4 comments

Comments

@munslowa
Copy link
Contributor

Install on Windows fails with package directory 'lib\iris_pyke_rules' does not exist. This is due to find_package_tree not handling the fact that \lib\iris\fileformats directory contains a sub-directory.

Tests carried out on Windows 7.

@esc24
Copy link
Member

esc24 commented Sep 12, 2012

When running find_package_tree() under linux I get the following:

>>> find_package_tree('lib/iris', 'iris')
['iris', 'iris.analysis', 'iris.fileformats', 'iris.io', 'iris.tests', 'iris.fileformats._pyke_rules']

which suggests it is descending into fileformats. What output do you get under Windows?

@pelson
Copy link
Member

pelson commented Sep 12, 2012

As it is, this ticket is neither actionable nor repeatable, so unless more info is provided, is destined to sit here indefinitely... (or get closed by me)

I'm not sure what you have provided is the whole story. Have you successfully run python setup.py build_ext? Would you mind posting your full setup to get to this state (and the full traceback as to how you found out about this error).

Finally, it is worth noting that Iris is not yet supported on Windows, although I am sure it will end up on the roadmap (once a roadmap exists).

Thanks,

@munslowa
Copy link
Contributor Author

line 31 changed '/' for os.sep. install now preceeds to building standard names but then fails with another error.
Closing issue.

@pelson
Copy link
Member

pelson commented Sep 13, 2012

line 31 changed '/' for os.sep

Did you submit this as a PR? We would certainly want to keep this change.

pp-mo added a commit to pp-mo/iris that referenced this issue Aug 15, 2023
pp-mo added a commit to pp-mo/iris that referenced this issue Aug 15, 2023
pp-mo added a commit to pp-mo/iris that referenced this issue Aug 15, 2023
pp-mo added a commit to pp-mo/iris that referenced this issue Aug 15, 2023
pp-mo added a commit to pp-mo/iris that referenced this issue Aug 15, 2023
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

3 participants