Skip to content

Commit 39ab88f

Browse files
committed
fixed setup.py to put spa_py in the right place
fixed setup.py to put spa_py in the right place
1 parent da91941 commit 39ab88f

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.gitignore

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
__pycache__/
33
*.py[cod]
44

5+
# emacs temp files
6+
*~
7+
58
# C extensions
69
*.so
710

@@ -16,10 +19,7 @@ parts/
1619
sdist/
1720
var/
1821
Drafts/
19-
<<<<<<< HEAD
2022
*/build/
21-
=======
22-
>>>>>>> 159b2e2a6b776f4d0fbc209b221d7fcfd914cc3c
2323
build/
2424

2525
*.egg-info/

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Hopefully you're using [virtualenv](http://virtualenv.readthedocs.org/en/latest/
5656
pip install .
5757
```
5858

59-
Add ``-e`` to install in [develop mode](http://pip.readthedocs.org/en/latest/reference/pip_install.html#editable-installs). Note, this mode may not properly link ``spa_py`` so a warning is issued by ``pvlib.solarposition`` when trying to import it.
59+
Add ``-e`` to install in [develop mode](http://pip.readthedocs.org/en/latest/reference/pip_install.html#editable-installs).
6060

6161
```
6262
# built-in imports

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656

5757
extensions = []
5858

59-
spa_ext = Extension('pvlib/spa_c_files/spa_py',
59+
spa_ext = Extension('pvlib.spa_c_files.spa_py',
6060
sources = ['pvlib/spa_c_files/spa.c',
6161
'pvlib/spa_c_files/spa_py.c'],
6262
depends = ['pvlib/spa_c_files/spa.h'])

0 commit comments

Comments
 (0)