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

Windows: utils/* not being installed? #37

Closed
paniq opened this issue Aug 7, 2014 · 6 comments
Closed

Windows: utils/* not being installed? #37

paniq opened this issue Aug 7, 2014 · 6 comments

Comments

@paniq
Copy link

paniq commented Aug 7, 2014

I noticed that cpp.exe is not installed with pycparser. Is that a bug or a deliberate choice? It would be enormously helpful to be able to depend on cpp.exe when pycparser is installed as in e.g.

CPPPATH = os.path.join(os.path.abspath(os.path.dirname(pycparser.__file__)),'utils', 'cpp.exe')

@eliben
Copy link
Owner

eliben commented Aug 7, 2014

Can you clarify what you mean by "not installed"? Would you expect it to be copied into the installation dir? I guess I could accept a pull request that adds that. I don't have a way to develop/test it myself though, since I don't have a Windows machine available.

@paniq
Copy link
Author

paniq commented Aug 9, 2014

setup.py makes no mention of the utils folder, and so utils is not installed with pycparser into python's dist-packages folder when setup.py install is executed.

It also appears the cpp.exe in the distribution is rather old; it lacks most of the options a modern gcc-based cpp offers.

I'll look into solutions for both points.

@kugel-
Copy link

kugel- commented Mar 5, 2016

I've too noticed that utils/* is not installed with setup.py. This results in the Arch Linux package lacking the fake libc headers. I guess without them pycparser is greatly limited.

@Mause
Copy link

Mause commented Mar 13, 2016

utils/ inclusion should have been fixed with ada0c04 (see #96), but a release hasn't been done since unfortunately

@outcast
Copy link

outcast commented Sep 28, 2016

This doesn't seem to have repaired the issue on virtual env on os x

@eliben
Copy link
Owner

eliben commented Mar 3, 2020

Utils is not installed, see #224

I don't plan to fix this, but a notice has been added to the README

@eliben eliben closed this as completed Mar 3, 2020
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

5 participants