Hi Guys, I tried to create a rpm package for python script using cxfreeze. I got an issue that I have been unable to overcome with the documentation and samples provided. I hope someone on this list can offer me some assistance. Thanks in advance for your time and effort.
My error logs: ubuntu:~/Documents/setup$ python setup.py bdist_rpm running bdist_rpm writing 'build/bdist.linux-x86_64/rpm/SPECS/step.spec' running sdist running check warning: check: missing required meta-data: url warning: check: missing meta-data: either (author and author_email) or (maintainer and maintainer_email) must be supplied warning: sdist: manifest template 'MANIFEST.in' does not exist (using default file list) warning: sdist: standard file not found: should have one of README, README.txt writing manifest file 'MANIFEST' creating step-1.0.0 making hard links in step-1.0.0... hard linking setup.py -> step-1.0.0 Creating tar archive removing 'step-1.0.0' (and everything under it) copying dist/step-1.0.0.tar.gz -> build/bdist.linux-x86_64/rpm/SOURCES building RPMs rpmbuild -ba --define _topdir /home/humsa/Documents/setup/build/bdist.linux-x86_64/rpm --clean build/bdist.linux-x86_64/rpm/SPECS/step.spec Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.MbukdM + umask 022 + cd /home/humsa/Documents/setup/build/bdist.linux-x86_64/rpm/BUILD + cd /home/humsa/Documents/setup/build/bdist.linux-x86_64/rpm/BUILD + rm -rf step-1.0.0 + /bin/gzip -dc /home/humsa/Documents/setup/build/bdist.linux-x86_64/rpm/SOURCES/step-1.0.0.tar.gz + /bin/tar -xvvf - drwxrwxr-x humsa/humsa 0 2018-12-04 11:11 step-1.0.0/ -rw-rw-r-- humsa/humsa 208 2018-12-04 11:11 step-1.0.0/PKG-INFO -rwxrw-rw- humsa/humsa 462 2018-12-04 10:49 step-1.0.0/setup.py + STATUS=0 + '[' 0 -ne 0 ']' + cd step-1.0.0 + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.aCaBP7 + umask 022 + cd /home/humsa/Documents/setup/build/bdist.linux-x86_64/rpm/BUILD + cd step-1.0.0 + env 'CFLAGS=-O2 -g' python setup.py build running build running build_exe error: [Errno 2] No such file or directory: 'StepsConverter4TCImport.py' error: Bad exit status from /var/tmp/rpm-tmp.aCaBP7 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.aCaBP7 (%build) error: command 'rpmbuild' failed with exit status 1 Please find attachment of setup.py Thanks and regards, Humsawani Loganathan.
setup.py
Description: setup.py
_______________________________________________ cx-freeze-users mailing list cx-freeze-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cx-freeze-users