Skip to content

Commit

Permalink
Add MANIFEST
Browse files Browse the repository at this point in the history
  • Loading branch information
calum-chamberlain committed May 1, 2020
1 parent 8a5fbd5 commit d5d1676
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
14 changes: 14 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Annoyingly, although the long-description is found by setup.py it is not included
# in pypi's archive of the package, we need to include it here...

include README.md
include LICENCE.txt
include requirements.txt
recursive-include scripts/*
recursive-include rteqcorrscan
recursive-include docs
recursive-include tests

# exclude rules
global-exclude *.pyc *.ms *.tgz __pycahce__
prune docs/build
6 changes: 4 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@
import os
import sys
import shutil
import rt_eqcorrscan

VERSION = rt_eqcorrscan.__version__
with open("rt_eqcorrscan/__init__.py", "r") as init_file:
version_line = [line for line in init_file
if '__version__' in line][0]
VERSION = version_line.split()[-1].split("'")[1]

long_description = '''
Real-time EQcorrscan: Real-time wrappers for EQcorrscan's earthquake detection
Expand Down

0 comments on commit d5d1676

Please sign in to comment.