File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 1414# limitations under the License.
1515
1616from setuptools import setup
17- from setuptools .command .test import test as TestCommand
1817import os
1918import sys
20- import pkg_resources
2119
2220__version__ = '4.21.1'
2321PACKAGE_NAME = 'ibm_code_engine_sdk'
2422PACKAGE_DESC = 'Python SDK for IBM Cloud Code Engine'
2523
2624with open ('requirements.txt' ) as f :
27- install_requires = [str ( req ) for req in pkg_resources . parse_requirements ( f )]
25+ install_requires = [line . strip ( ) for line in f if line . strip () and not line . startswith ( '#' )]
2826with open ('requirements-dev.txt' ) as f :
29- tests_require = [str ( req ) for req in pkg_resources . parse_requirements ( f )]
27+ tests_require = [line . strip ( ) for line in f if line . strip () and not line . startswith ( '#' )]
3028
3129if sys .argv [- 1 ] == 'publish' :
3230 # test server
You can’t perform that action at this time.
0 commit comments