This is related to #37
I read this page: https://pypi.python.org/pypi/stdeb and installed python-stdeb on my machine. Then I cloned the punjab github repo on my machine, and did the following:
dpkg -L python-stdeb
python setup.py sdist
and I get this error
running the following command in directory: deb_dist/tmp_py2dsc/punjab-0.15
/usr/bin/python setup.py --command-packages stdeb.command sdist_dsc --dist-dir=/home/user/fromGit/punjab/deb_dist --use-premade-distfile=/home/user/fromGit/punjab/dist/punjab-0.15.tar.gz
writing top-level names to punjab.egg-info/top_level.txt
writing dependency_links to punjab.egg-info/dependency_links.txt
package init file 'twisted/plugins/__init__.py' not found (or not a regular file)
reading manifest file 'punjab.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'TODO.txt'
warning: no files found matching 'MANIFEST'
warning: no files found matching '*' under directory 'html/js'
warning: no files found matching '*' under directory 'html/css'
warning: no files found matching '*' under directory 'html/images'
warning: no previously-included files matching '*~' found anywhere in distribution
warning: no previously-included files matching '.cvs*' found anywhere in distribution
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '.svn*' found anywhere in distribution
writing manifest file 'punjab.egg-info/SOURCES.txt'
CALLING dpkg-source -b punjab-0.15 (in dir /home/user/fromGit/punjab/deb_dist)
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building punjab using existing ./punjab_0.15.orig.tar.gz
dpkg-source: info: local changes detected, the modified files are:
dpkg-source: info: you can integrate the local changes with dpkg-source --commit
dpkg-source: error: aborting due to unexpected upstream changes, see /tmp/punjab_0.15-1.diff.JGLEI7
Traceback (most recent call last):
File "setup.py", line 35, in <module>
File "/usr/lib/python2.7/distutils/core.py", line 152, in setup
File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
File "/usr/lib/python2.7/dist-packages/stdeb/command/sdist_dsc.py", line 139, in run
File "/usr/lib/python2.7/dist-packages/stdeb/util.py", line 1207, in build_dsc
File "/usr/lib/python2.7/dist-packages/stdeb/util.py", line 478, in dpkg_source
File "/usr/lib/python2.7/dist-packages/stdeb/util.py", line 142, in process_command
File "/usr/lib/python2.7/dist-packages/stdeb/util.py", line 35, in check_call
ERROR running: /usr/bin/python setup.py --command-packages stdeb.command sdist_dsc --dist-dir=/home/user/fromGit/punjab/deb_dist --use-premade-distfile=/home/user/fromGit/punjab/dist/punjab-0.15.tar.gz
ERROR in deb_dist/tmp_py2dsc/punjab-0.15
I don't know what to do after it. What do you suggest?
I did this:
# dpkg-source --commit
tail: cannot open `punjab/debian/changelog' for reading: No such file or directory
dpkg-source: error: tail of punjab/debian/changelog gave error exit status 1
and failed (see error above)
@twonds May I create a .deb out of Punjab and put it up on launchpad.net? I have absolutely zero experience in this, so I'm learning...
You are more than welcome to do this, thanks!
Finished: https://launchpad.net/~karjala/+archive/jabber - Installs and uninstalls (on Ubuntu) wonderfully.
Maybe you want to link to that URL as an alternative method of Installation in your INSTALL.txt file, because my punjab page does not get returned when you search for punjab from launchpad.net (see here: https://launchpad.net/+search?field.text=punjab)
include debian launchpad url. re: #41
Awesome! Thanks so much for this!
A small correction: it's "Ubuntu" package, not "Debian" package. Ubuntu users who see "Debian" might think it's not good for their version of Linux (and equally, Debian users might try to install it when they can't)
ubuntu not debian re: #41
Thanks again and fixed!