简体   繁体   English

通过stdeb从Python包创建Debian包:什么是.deb文件?

[英]Creating a Debian package from Python package via stdeb: what is .deb file?

After typing this command: 输入此命令后:

python setup.py --command-packages=stdeb.command bdist_deb

I get a folder deb_dist, which contains orig.tar.gz, debian.tar.gz and .dsc file. 我得到一个文件夹deb_dist,其中包含orig.tar.gz,debian.tar.gz和.dsc文件。 And where is .deb file? .deb文件在哪里?

Am I doing something wrong or this is right? 我做错了什么或这是对的吗? I`m new in packaging and do not understand all details. 我是包装新手,不了解所有细节。

You should install dependence: 你应该安装依赖:

apt-get install python-stdeb fakeroot python-all

After typing the command: 输入命令后:

python setup.py --command-packages=stdeb.command bdist_deb

The directory deb_dist will be contain deb package. deb_dist目录将包含deb包。 You can look on http://shallowsky.com/blog/programming/python-debian-packages-w-stdeb.html 你可以查看http://shallowsky.com/blog/programming/python-debian-packages-w-stdeb.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM