Skip to content

Commit

Permalink
release1.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
urmi-21 committed Jan 21, 2020
1 parent ad2835a commit 31d45be
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 12 deletions.
4 changes: 3 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
include plncpro/lib/framefinder/framefinder
include plncpro/lib/framefinder/framefinder.model
include plncpro/lib/framefinder/framefinder.model
include *.txt
include *.sh
4 changes: 2 additions & 2 deletions plncpro/version.py → plncpro/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
@author: usingh
"""

__version__="1.2.0"
#__version__="1.2.2"
1.2.2
19 changes: 10 additions & 9 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,22 @@
long_description = fh.read()

#read version info
cwd =os.path.abspath(os.path.dirname("__file__"))
version = {}
with open(os.path.join(cwd, "plncpro", "version.py")) as fp:
exec(fp.read(), version)
version = version["__version__"]
#cwd =os.path.abspath(os.path.dirname("__file__"))
#version = {}
#with open(os.path.join(cwd, "plncpro", "version.py")) as fp:
# exec(fp.read(), version)
#version = version["__version__"]

if version is None:
print("Error: version is missing. Exiting...", file=sys.stderr)
sys.exit(1)
#if version is None:
# print("Error: version is missing. Exiting...", file=sys.stderr)
# sys.exit(1)



setuptools.setup(
name="plncpro",
version=version,
#version=version,
version=open("plncpro/_version.py").readlines()[-1].split()[-1].strip("\"'"),
author="Urminder Singh",
author_email="usingh@iastate.edu",
description="PlncPRO (Plant Long Non-Coding rna Prediction by Random fOrests) is a program to classify coding (mRNAs) and long non-coding transcripts (lncRNAs).",
Expand Down

0 comments on commit 31d45be

Please sign in to comment.