Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix syntax error #315

Merged
merged 2 commits into from
Jun 4, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions requirements.txt

This file was deleted.

11 changes: 2 additions & 9 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,6 @@
calls, response processing, error handling, debugging across the Finding,
Shopping, Merchandising, & Trading APIs. """

def requirements_file_to_list(fn="requirements.txt"):
"""read a requirements file and create a list that can be used in setup.
"""

with open(fn, 'r') as f:
return [x.rstrip() for x in list(f) if x and not x.startswith('#')]

setup(
name=PKG,
version=version,
Expand All @@ -42,9 +35,9 @@ def requirements_file_to_list(fn="requirements.txt"):
author_email="[email protected]",
url="https://github.com/timotheus/ebaysdk-python",
license="COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0",
packages=find_packages(include=['ebaysdk', 'ebaysdk.*'),
packages=find_packages(include=['ebaysdk', 'ebaysdk.*']),
provides=[PKG],
install_requires=['lxml', 'requests'], #requirements_file_to_list(),
install_requires=['lxml', 'requests'],
test_suite='tests',
long_description=long_desc,
classifiers=[
Expand Down