Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't import biopandas during install #60

Merged
merged 5 commits into from
Oct 10, 2019
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
from os.path import realpath, dirname, join
ecederstrand marked this conversation as resolved.
Show resolved Hide resolved
from setuptools import setup, find_packages
import biopandas

VERSION = biopandas.__version__
VERSION = None
with io.open(
rasbt marked this conversation as resolved.
Show resolved Hide resolved
os.path.join(os.path.dirname(__file__), 'biopandas/__init__.py'),
encoding='utf-8'
) as f:
for l in f:
if not l.startswith('__version__'):
continue
VERSION = l.split('=')[1].strip(' "\'\n')
break
PROJECT_ROOT = dirname(realpath(__file__))
ecederstrand marked this conversation as resolved.
Show resolved Hide resolved

REQUIREMENTS_FILE = join(PROJECT_ROOT, 'requirements.txt')
ecederstrand marked this conversation as resolved.
Show resolved Hide resolved
Expand Down