hi,
When i use the latest python version 3.6.5 to package the setuptools
version 39.0.1 to rpm,the os is readhat 6.5.i have some problem.
I use blow command to package it:
python3 setup.py bdist_rpm --requires "Python3-nsn" --no-autoreq --packager
"[email protected]" --binary-only
Then the error occured,the error messages is like this:
Processing files: setuptools-39.0.1.post20180411-1.noarch
error: Two files on one line:
/usr/local/python3/lib/python3.6/site-packages/setuptools/script
error: File must begin with "/": (dev).tmpl
error: Two files on one line:
/usr/local/python3/lib/python3.6/site-packages/setuptools/command/launcher
error: File must begin with "/": manifest.xml
RPM build errors:
Two files on one line:
/usr/local/python3/lib/python3.6/site-packages/setuptools/script
File must begin with "/": (dev).tmpl
Two files on one line:
/usr/local/python3/lib/python3.6/site-packages/setuptools/command/launcher
File must begin with "/": manifest.xml
error: command 'rpmbuild' failed with exit status 1
I search the internet,and found this
url:https://stackoverflow.com/questions/26718001/cannot-create-setuptools-rpm-error-two-files-on-one-line#
. I followed it ,and found the above two files in the
./build/bdist.linux-x86_64/rpm/BUILD/setuptools-39.0.1.post20180411/INSTALLED_FILES
file,there are spaces.
Can you fix it?
Email:[email protected]
_______________________________________________
Distutils-SIG maillist - [email protected]
https://mail.python.org/mailman/listinfo/distutils-sig