Skip to content

Commit 5dced67

Browse files
committed
Fix syntax error in setup.py
Also removed some unused code.
1 parent 0de2793 commit 5dced67

1 file changed

Lines changed: 2 additions & 9 deletions

File tree

setup.py

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,6 @@
2727
calls, response processing, error handling, debugging across the Finding,
2828
Shopping, Merchandising, & Trading APIs. """
2929

30-
def requirements_file_to_list(fn="requirements.txt"):
31-
"""read a requirements file and create a list that can be used in setup.
32-
"""
33-
34-
with open(fn, 'r') as f:
35-
return [x.rstrip() for x in list(f) if x and not x.startswith('#')]
36-
3730
setup(
3831
name=PKG,
3932
version=version,
@@ -42,9 +35,9 @@ def requirements_file_to_list(fn="requirements.txt"):
4235
author_email="tkeefer@gmail.com",
4336
url="https://github.com/timotheus/ebaysdk-python",
4437
license="COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0",
45-
packages=find_packages(include=['ebaysdk', 'ebaysdk.*'),
38+
packages=find_packages(include=['ebaysdk', 'ebaysdk.*']),
4639
provides=[PKG],
47-
install_requires=['lxml', 'requests'], #requirements_file_to_list(),
40+
install_requires=['lxml', 'requests'],
4841
test_suite='tests',
4942
long_description=long_desc,
5043
classifiers=[

0 commit comments

Comments
 (0)