Skip to content

Commit

Permalink
Merge f531786 into 83d1b65
Browse files Browse the repository at this point in the history
  • Loading branch information
ecederstrand committed Oct 10, 2019
2 parents 83d1b65 + f531786 commit 85c052b
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,19 @@
from os.path import realpath, dirname, join
import os
from setuptools import setup, find_packages
import biopandas

VERSION = biopandas.__version__
PROJECT_ROOT = dirname(realpath(__file__))
VERSION = None
with open(
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 = os.path.dirname(os.path.realpath(__file__))

REQUIREMENTS_FILE = join(PROJECT_ROOT, 'requirements.txt')
REQUIREMENTS_FILE = os.path.join(PROJECT_ROOT, 'requirements.txt')

with open(REQUIREMENTS_FILE) as f:
install_reqs = f.read().splitlines()
Expand Down

0 comments on commit 85c052b

Please sign in to comment.