forked from murphycj/AGFusion
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Have to download AGFusion database. This reduces the python package size
- Loading branch information
Showing
10 changed files
with
58 additions
and
57 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
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
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 |
---|---|---|
@@ -1 +1 @@ | ||
__version__ = "0.138" | ||
__version__ = "0.139" |
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
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,24 +1,9 @@ | ||
import os | ||
import site | ||
import gzip | ||
from setuptools import setup, find_packages | ||
from setuptools.command.install import install | ||
import re | ||
import shutil | ||
import site | ||
|
||
class CustomInstall(install): | ||
def run(self): | ||
install.run(self) | ||
|
||
file_path = os.path.join( | ||
site.getsitepackages()[0], | ||
'agfusion', | ||
'data', | ||
'agfusion.db.gz' | ||
) | ||
|
||
with gzip.open(file_path, 'rb') as f_in, file(file_path.replace('.gz',''), 'w') as f_out: | ||
shutil.copyfileobj(f_in, f_out) | ||
from setuptools import setup, find_packages | ||
|
||
VERSIONFILE = "agfusion/_version.py" | ||
verstrline = open(VERSIONFILE, "rt").read() | ||
|
@@ -35,15 +20,14 @@ def run(self): | |
version=verstr, | ||
name='agfusion', | ||
packages=find_packages(), | ||
description="Python package providing that can visualize different annotations of a gene fusion.", | ||
description="Python package to annotate and visualize gene fusions.", | ||
author='Charles Murphy', | ||
author_email='[email protected]', | ||
license='MIT', | ||
url='https://github.com/murphycj/AGFusion', | ||
long_description=README, | ||
include_package_data=True, | ||
scripts=['bin/agfusion'], | ||
cmdclass={'install': CustomInstall}, | ||
install_requires=[ | ||
'pyensembl>=0.9.5', | ||
'matplotlib>=1.5.0', | ||
|
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