Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mendhak/setuptools-stdeb-example
Example setup.py that creates a .deb package from an executable Python script
https://github.com/mendhak/setuptools-stdeb-example
debian packaging setuptools stdeb ubuntu
Last synced: 3 days ago
JSON representation
Example setup.py that creates a .deb package from an executable Python script
- Host: GitHub
- URL: https://github.com/mendhak/setuptools-stdeb-example
- Owner: mendhak
- License: mit
- Created: 2020-05-23T11:24:37.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-05-23T16:07:40.000Z (over 4 years ago)
- Last Synced: 2024-10-31T15:47:41.889Z (about 2 months ago)
- Topics: debian, packaging, setuptools, stdeb, ubuntu
- Language: Python
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Notes
Create a build using:
```
rm -rf deb_dist dist *.tar.gz *.egg* build tmp
python3 setup.py --command-packages=stdeb.command bdist_deb
```A .deb is produced inside ./deb_dist
Examine it using
```
lintian example-pkg_0.0.2-1_all.deb
dpkg -I example-pkg_0.0.2-1_all.deb
```Install it using
```
sudo apt install ./example-pkg_0.0.2-1_all.deb
```Run the 'command' using
```
example_pkg
```Uninstall it using
```
sudo apt purge example-pkg
```