Skip to content

Commit

Permalink
Added MANIFEST.in file
Browse files Browse the repository at this point in the history
  • Loading branch information
mrava87 committed Jan 12, 2020
1 parent cd16920 commit 4cf8d7f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
9 changes: 9 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
exclude .*
exclude environment.yml requirements.txt Makefile
exclude environment-dev.yml requirements-dev.txt azure-pipelines.yml
exclude environment-dev.yml requirements-doc.txt readthedocs.yml
recursive-exclude docs *
recursive-exclude examples *
recursive-exclude pytests *
recursive-exclude testdata *
recursive-exclude tutorials *
4 changes: 2 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import sphinx_rtd_theme
import sphinx_gallery
from sphinx_gallery.sorting import ExampleTitleSortKey
from pkg_resources import get_distribution
from pylops_gpu import __version__

# Sphinx needs to be able to import the package to use autodoc and get the version number
sys.path.insert(0, os.path.abspath('../../pylops_gpu'))
Expand Down Expand Up @@ -94,7 +94,7 @@
copyright = '{}, Matteo Ravasi'.format(year)

# Version
version = '0.0.0' #get_distribution('pylops_gpu').version
version = __version__
if len(version.split('+')) > 1 or version == 'unknown':
version = 'dev'

Expand Down

0 comments on commit 4cf8d7f

Please sign in to comment.