Skip to content

Commit cbd7800

Browse files
authored
add license, docs, authors to manifest, exclude spa files (#580)
add license, docs, authors to manifest, exclude spa files
1 parent e3323b5 commit cbd7800

File tree

2 files changed

+35
-6
lines changed

2 files changed

+35
-6
lines changed

MANIFEST.in

Lines changed: 33 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,35 @@
1-
#include *.txt
2-
include versioneer.py
3-
include pvlib/_version.py
4-
recursive-include pvlib/data *
1+
include MANIFEST.in
2+
include AUTHORS.md
3+
include LICENSE
54
include README.md
6-
include pvlib/spa_c_files/*.h
5+
include setup.py
6+
7+
# include most everything under pvlib by default
8+
# better to package too much than not enough
9+
graft pvlib
10+
11+
# we included pvlib files needed to compile NREL SPA code in graft above,
12+
# now we exclude the NREL code itself to comply with their license
13+
global-exclude */spa.c
14+
global-exclude */spa.h
15+
prune pvlib/spa_c_files/build
716

8-
#recursive-include docs *.txt
17+
graft docs
18+
prune docs/sphinx/build
19+
prune docs/sphinx/source/generated
20+
# all doc figures created by doc build
21+
prune docs/sphinx/source/savefig
22+
23+
global-exclude __pycache__
24+
global-exclude *.pyc
25+
global-exclude *.pyo
26+
global-exclude *.pyd
27+
global-exclude *.so
28+
global-exclude *~
29+
global-exclude .DS_Store
30+
global-exclude .git*
31+
global-exclude \#*
32+
global-exclude .ipynb_checkpoints
33+
34+
include versioneer.py
35+
include pvlib/_version.py

docs/sphinx/source/whatsnew/v0.6.0.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,8 @@ Bug fixes
156156
* Fixed bug in tracking.singleaxis that mistakenly assigned nan values when
157157
the Sun was still above the horizon. No effect on systems with axis_tilt=0.
158158
(:issue:`569`)
159+
* Source distribution did not contain LICENSE file. Added LICENSE, AUTHORS.md,
160+
and some docs to MANIFEST. (:issue:`579`)
159161
* Patch SPA C-files to fix timezone macro name clash with `pyconfig.h`. (:issue:`168`)
160162

161163

0 commit comments

Comments
 (0)