Skip to content

Commit

Permalink
Merge pull request #28 from dev/pip10-setup-req-fix
Browse files Browse the repository at this point in the history
Do not use pip.req in setup for pip10 compatibility
  • Loading branch information
Nadia Wallace authored and GitHub Enterprise committed Apr 16, 2018
2 parents c3a3390 + 45d1fa1 commit 27b9668
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
# FASTA files
*.fa.seqlen
*.fa.pureseq
*.fa.fai

# C extensions
*.so
Expand All @@ -24,6 +25,7 @@ develop-eggs
.installed.cfg
lib
lib64
.venv

# Installer logs
pip-log.txt
Expand Down
12 changes: 6 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
from __future__ import unicode_literals

from setuptools import setup
from pip.req import parse_requirements
from pip.download import PipSession
import sys

description = ("This library provides a simple to use Python API for parsing, "
Expand All @@ -22,7 +20,7 @@ def main():

setup(
name='pyhgvs',
version='0.11.0',
version='0.11.1',
description='HGVS name parsing and formatting',
long_description=description,
author='Matt Rasmussen',
Expand All @@ -31,9 +29,11 @@ def main():
include_package_data=True,
scripts=[],
install_requires=['pip>=1.2'],
tests_require=[str(line.req) for line in
parse_requirements('requirements-dev.txt',
session=PipSession())],
tests_require=[
'flake8==2.2.5',
'nose==1.3.7',
'pyfaidx==0.5.0.1',
],
)


Expand Down

0 comments on commit 27b9668

Please sign in to comment.