forked from ga4gh/ga4gh-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Minimal metadata required for Python packaging.
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
1 parent
63d9e69
commit 4768303
Showing
3 changed files
with
8 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
README.txt |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 = [] | ||
|
@@ -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, | ||
) |