Skip to content

Commit

Permalink
Publish to PyPI
Browse files Browse the repository at this point in the history
  • Loading branch information
tdewolff committed Jan 27, 2020
1 parent a28c814 commit 8e3ee40
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,7 @@ __pycache__/
*.py[cod]
*.ipynb_checkpoints
*.params
build/
dist/
mogptk.egg-info/
examples/log
2 changes: 2 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
prune examples
prune docs
2 changes: 2 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/usr/bin/bash
python setup.py sdist bdist_wheel
1 change: 1 addition & 0 deletions docs/gen.sh → build_docs.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/bash
cd docs
find * -type f -name '*.html' -exec rm -fr {} + || exit 1
pdoc --html --force -o . ../mogptk || exit 1
mv -f mogptk/* . || exit 1
Expand Down
2 changes: 2 additions & 0 deletions publish.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/usr/bin/bash
twine upload dist/*
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
author='Taco de Wolff, Alejandro Cuevas, Felipe Tobar',
author_email='[email protected]',
license='MIT',
packages=find_packages(),
packages=find_packages(exclude=['examples']),
include_package_data=False,
keywords=['MOGP', 'MOSM', 'GP', 'Gaussian Process', 'Multi-Output', 'Tobar', 'Parra'],
python_requires='~=3.7.0',
install_requires=[
Expand Down

0 comments on commit 8e3ee40

Please sign in to comment.