-
Notifications
You must be signed in to change notification settings - Fork 85
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
[1.3.4] Install fails on python 3.6 #201
Comments
@tuxmaster5000 could you please post your OS/version and install process? (package? pip install? system-wide or virtualenv? root or user?) |
It will be an system-wide build for rpm. Using CentOS 7.6 |
I see the problem, for some reason the build is executing all files, attempting to bundle in python2 file with python3 interpreter. Apparently you can't bytecompile without parsing ;) Can you convince |
No, because the build script from CentOS/RedHat will precompile all installed python files. |
Do you know how to do that?
…On 1 Jul 2019, 07:07 +0200, tuxmaster5000 ***@***.***>, wrote:
No, because the build script from CentOS/RedHat will precompile all installed python files.
As an temporary workaround I have remove the file, before I call setup.py. But it will be better, when the setup only install the python2 stuff, when it called by python2.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
I have tried to understood your installer, but it looks for me very strange, because it don't use the default setup.py routines. |
It will fails with:
Copying Paver.egg-info to /builddir/build/BUILDROOT/python-paver-1.3.4-1.el7.x86_64/usr/lib/python3.6/site-packages/Paver-1.3.4-py3.6.egg-info
running install_scripts
Installing paver script to /builddir/build/BUILDROOT/python-paver-1.3.4-1.el7.x86_64/usr/bin
File "/usr/lib/python3.6/site-packages/paver/deps/path2.py", line 939
def mkdir(self, mode=0777):
The text was updated successfully, but these errors were encountered: