Skip to content

Commit

Permalink
RFCT Use a link for output.md
Browse files Browse the repository at this point in the history
This is more robust than the previous solution where docs/output.md
could easily get out of sync with gmgc_finder/output.md
  • Loading branch information
luispedro committed Jun 14, 2020
1 parent 997118d commit e70c508
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@ __pycache__/
Genome2gmgc.egg-info/
build/
dist/
gmgc_finder/output.md
1 change: 1 addition & 0 deletions gmgc_finder/output.md
6 changes: 0 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@
long_description = open('README.md').read()


# A bit hacky, but we want to have the output.md file in the package directory
# so it can be found by the setuptools machinery
if not path.exists('gmgc_finder/output.md'):
from shutil import copyfile
copyfile('docs/output.md', 'gmgc_finder/output.md')

setup(name='GMGC-Finder',
version=__version__,
description='Map genes and genome to the Global Microbial Gene Catalog (GMGC)',
Expand Down

0 comments on commit e70c508

Please sign in to comment.