Skip to content

Commit 787f953

Browse files
authored
Merge pull request #315 from wesleybowman/fix_syntax_error
Fix syntax error
2 parents 32deac0 + a26b33d commit 787f953

2 files changed

Lines changed: 2 additions & 11 deletions

File tree

requirements.txt

Lines changed: 0 additions & 2 deletions
This file was deleted.

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)