eblot / pyspiflash

SPI data flash device drivers (pure Python)
MIT License
40 stars 30 forks source link

Fix installation issue by adding LICENSE #12

Closed ahogen closed 6 years ago

ahogen commented 6 years ago

I reported an issue installing this library (issue #11) which seems to be because a LICENSE file was specified in the setup script, but no LICENSE file exists in the top level.

I noticed the LICENSE file in /serialflash/, so I went ahead and created a simlink to that file in my fork and attempted installing again. This time, I used...

# Python 3.6 on Windows 7
python -m pip install git+https://github.com/ahogen/pyspiflash.git

# Python 3.6 on Linux Mint
sudo -H python3 -m pip install git+https://github.com/ahogen/pyspiflash.git

... to install from my fork. Everything seemed to work, so I'm submitting this as a suggested solution. I don't have any experience with wheel or how to set up Python package installation, so maybe there's something I missed or a different solution to this problem.

If it is the solution, this PR closes #11.

ahogen commented 6 years ago

This should have been in a branch off my fork. Closing.