Skip to content

Commit

Permalink
Merge pull request #11 from luispedro/find_output
Browse files Browse the repository at this point in the history
RFCT Remove duplication of `output.md`
  • Loading branch information
psj1997 committed Jun 12, 2020
2 parents 9024c4b + 5eec98a commit 797caa1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 54 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ __pycache__/
Genome2gmgc.egg-info/
build/
dist/
gmgc_finder/output.md
54 changes: 0 additions & 54 deletions gmgc_finder/output.md

This file was deleted.

8 changes: 8 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from os import path
from setuptools import setup,find_packages

exec(compile(open('gmgc_finder/gmgc_finder_version.py').read(),
Expand All @@ -9,6 +10,13 @@
except:
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 797caa1

Please sign in to comment.