Closed m-roberts closed 3 years ago
@gkvoelkl - would you mind taking a look at this? It seems as though setup.py
is not correct, even if you don't want to manage the Debian directory.
Did you get a message?
@gkvoelkl
Traceback (most recent call last):
File "setup.py", line 10, in <module>
with open(path.join(here, 'README.txt'), encoding='utf-8') as f:
File "/usr/lib/python3.8/codecs.py", line 905, in open
file = builtins.open(filename, mode, buffering)
FileNotFoundError: [Errno 2] No such file or directory: '/home/runner/work/python-sonic-0.4.1/README.txt'
Error: Process completed with exit code 1.
Build steps:
pip3 install stdeb
sudo apt install -y debhelper python3-all
pypi-download python-sonic
tar xvzf python-sonic*.tar.gz
rm python-sonic*.tar.gz
cd ./python-sonic*
python3 setup.py --command-packages=stdeb.command sdist_dsc
It can't actually run setup.py
because of this error. Can you please merge in just the README fix?
(
setup.py
is broken pointing to the wrong README file, so this has been fixed.)This PR provides files for allowing users to easily install this Python package as a Debian package - the "proper" way to do things on systems such as Raspberry Pi OS (the original use-case for Sonic Pi, after all...)
We are hosting this on our fork and making use of this for pi-topOS - the files are provided here to improve the experience for anyone else wishing to use this library.