Skip to content

Commit

Permalink
Adds requirements.txt file
Browse files Browse the repository at this point in the history
Adds parsing of the requirements file to setup.py
Exporting @fast from this package
  • Loading branch information
tartavull committed Jul 10, 2016
1 parent fa7838d commit eec1dee
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 2 additions & 0 deletions fastpy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@
__author__ = 'Ignacio Tartavull'
__email__ = 'tartavull@gmail.com'
__version__ = '0.1.0'

from fastpy import fast
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
llvmpy>=0.11.1
numpy>=1.7.0
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,16 @@
# -*- coding: utf-8 -*-

from setuptools import setup
from pip.req import parse_requirements

with open('README.rst') as readme_file:
readme = readme_file.read()

with open('HISTORY.rst') as history_file:
history = history_file.read()

requirements = [
]
install_reqs = parse_requirements('requirements.txt', session=False)
requirements = [str(ir.req) for ir in install_reqs]

test_requirements = [
# TODO: put package test requirements here
Expand Down

0 comments on commit eec1dee

Please sign in to comment.