Skip to content

Commit

Permalink
moving requirements to a new file
Browse files Browse the repository at this point in the history
Signed-off-by: Vikrant Balyan (vvb) <vvb@cisco.com>
  • Loading branch information
vvb committed Aug 23, 2018
1 parent 63250ce commit ea34d25
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
pyparsing
six
17 changes: 7 additions & 10 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,18 @@
except ImportError:
from distutils.core import setup

with open('requirements.txt') as rf:
requirements = rf.readlines()

with open('test-requirements.txt') as rf:
test_requirements = rf.readlines()

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

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

requirements = [
# TODO: put package requirements here
]

test_requirements = [
# TODO: put package test requirements here
]

setup(
name='imcsdk',
version='0.9.3.1',
Expand All @@ -36,7 +33,7 @@
package_dir={'imcsdk':
'imcsdk'},
include_package_data=True,
install_requires=['pyparsing'],
install_requires=requirements,
license="http://www.apache.org/licenses/LICENSE-2.0",
zip_safe=False,
keywords='imcsdk',
Expand All @@ -53,7 +50,7 @@
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
tests_require=['nose'],
tests_require=test_requirements,
test_suite='nose.collector',
extras_require={
'ssl': ['pyOpenSSL'],
Expand Down
1 change: 1 addition & 0 deletions test-requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nose

0 comments on commit ea34d25

Please sign in to comment.