Skip to content

Commit 0f11909

Browse files
committed
Merge pull request #1 from tylercrumpton/easy-pip
Make dependencies automatically install from GitHub
2 parents 5744caf + ae4e5af commit 0f11909

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ By default, this is located at `..\Documents\Portal\snappyImages` on Windows.
1919
The easiest way to install `pyduino-lcd` for use with SNAPbuild is using
2020
[pip](https://pip.pypa.io/en/latest/installing.html):
2121

22-
git+https://github.com/synapse-wireless/pyduino-lcd.git@master
22+
pip install git+https://github.com/synapse-wireless/pyduino-lcd.git@master --process-dependency-links
2323

24-
Alternatively you can download the source, extract it, and install it:
24+
Alternatively you can clone or download and extract the source, and install it:
2525

26-
python setup.py install
26+
pip install ./pyduino-lcd --process-dependency-links

setup.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515
'pyduinoincludes==2.1.0',
1616
'snappyatmega==1.0.1'
1717
],
18+
dependency_links=[
19+
"git+https://github.com/synapse-wireless/pyduino-includes.git@v2.1.0#egg=pyduinoincludes-2.1.0",
20+
"git+https://github.com/synapse-wireless/snappy-atmega.git@v1.0.1#egg=snappyatmega-1.0.1"
21+
],
1822
vcversioner={
1923
'version_module_paths': ['pyduinolcd/_version.py'],
2024
},

0 commit comments

Comments
 (0)