Skip to content

Commit

Permalink
Include LICENSE in R and python packages.
Browse files Browse the repository at this point in the history
  • Loading branch information
pettyalex committed Mar 27, 2024
1 parent 7057195 commit ad3018f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions conda_forge_python/create_python_package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,6 @@ ln -s $(pwd)/../include/vbfa.h ./peer/src/

ln -s $(pwd)/../python/peerPYTHON_wrap.cxx ./peer/src/peerPYTHON_wrap.cpp
ln -s $(pwd)/../python/peer.py ./peer/
ln -s $(pwd)/../LICENSE ./peer/

python -m build --sdist peer
2 changes: 2 additions & 0 deletions cran/package_r_only.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,7 @@ ln -s $(pwd)/../R/peer/man ./peer/man
ln -s $(pwd)/../R/peer/NAMESPACE ./peer/NAMESPACE
ln -s $(pwd)/../R/peer/R/plot.R ./peer/R/plot.R

ln -s $(pwd)/../LICENSE ./peer/

#3. create .tar.gz with symlinks dereferenced
R CMD build peer
1 change: 1 addition & 0 deletions standalone_python/create_python_package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,6 @@ ln -s $(pwd)/../include/vbfa.h ./peer/src/

ln -s $(pwd)/../python/peerPYTHON_wrap.cxx ./peer/src/peerPYTHON_wrap.cpp
ln -s $(pwd)/../python/peer.py ./peer/
ln -s $(pwd)/../LICENSE ./peer/

python -m build --sdist peer

0 comments on commit ad3018f

Please sign in to comment.