Skip to content

Commit

Permalink
Minimal metadata required for Python packaging.
Browse files Browse the repository at this point in the history
Renamed .md file to .txt and made a soft link from README.rst
to the .txt file. This allows both Python packaging tools to do
the correct thing as well as providing a nicely rendered README
on github.
  • Loading branch information
jeromekelleher committed Aug 12, 2014
1 parent 63d9e69 commit 4768303
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.rst
File renamed without changes.
7 changes: 7 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ def parse_version(module_file):
match = re.findall("__version__ = '([^']+)'", s)
return match[0]

f = open("README.txt")
ga4gh_readme = f.read()
f.close()
ga4gh_version = parse_version("ga4gh/__init__.py")

requirements = []
Expand All @@ -29,7 +32,11 @@ def parse_version(module_file):
setup(
name = "ga4gh",
version = ga4gh_version,
long_description = ga4gh_readme,
packages = ["ga4gh"],
author = "AUTHOR FIXME",
author_email = "[email protected]",
url = "http://pypi.python.org/pypi/ga4gh",
scripts = ["scripts/ga4gh_ref.py"],
install_requires = requirements,
)

0 comments on commit 4768303

Please sign in to comment.