Editing PyMaemo/Scratchboxless packaging guide
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 86: | Line 86: | ||
== Support for non-Debian systems == | == Support for non-Debian systems == | ||
+ | |||
+ | '''DRAFT DRAFT DRAFT DRAFT DRAFT''' | ||
{{ambox | {{ambox | ||
Line 94: | Line 96: | ||
If you're using a distro not based on Debian, you can still create source packages for uploading to extras-devel, but won't be able to create binary packages (.deb). | If you're using a distro not based on Debian, you can still create source packages for uploading to extras-devel, but won't be able to create binary packages (.deb). | ||
- | For doing this, you will need the sdist_deb module available [http://gitorious.org/pymaemo/sboxless here]; just clone it in some directory | + | For doing this, you will need the sdist_deb module available [http://gitorious.org/pymaemo/sboxless here]; just clone it in some directory, point the PYTHONPATH environment variable there. |
Now create a file called sboxless.cfg, which will contain additional information for generating the package. For now, you can add additional runtime dependencies for your package. If you want to add python-twitter as dependency, just write | Now create a file called sboxless.cfg, which will contain additional information for generating the package. For now, you can add additional runtime dependencies for your package. If you want to add python-twitter as dependency, just write | ||
Line 101: | Line 103: | ||
depends=python-twitter | depends=python-twitter | ||
- | + | If you don't want to add any dependency, just leave the field empty ('depends='). | |
Now, run the sdist_deb command: | Now, run the sdist_deb command: | ||
- | PYTHONPATH=/path/to/ | + | PYTHONPATH=/path/to/sdist_deb python setup.py --command-packages=sboxless sdist_deb |
The source files will be generated on the ./dist directory. | The source files will be generated on the ./dist directory. |
Learn more about Contributing to the wiki.