-
-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2e146e7
commit 43e29cf
Showing
2 changed files
with
16 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,33 @@ | ||
#!/usr/bin/env python3 | ||
|
||
from distutils.core import setup | ||
from setuptools import setup, find_packages | ||
from codecs import open | ||
from os import path | ||
from pyetrade import __version__ | ||
|
||
here = path.abspath(path.dirname(__file__)) | ||
|
||
# Get the long description from the README file | ||
with open(path.join(here, "README.md"), encoding="utf-8") as f: | ||
long_description = f.read() | ||
|
||
# requirements | ||
with open("requirements.txt") as requirements: | ||
req = [i.strip() for i in requirements] | ||
with open(path.join(here, "requirements.txt"), encoding="utf-8") as f: | ||
all_reqs = f.read().split("\n") | ||
|
||
install_requires = [x.strip() for x in all_reqs if "git+" not in x] | ||
|
||
setup( | ||
name="pyetrade", | ||
version=__version__, | ||
description="eTrade API wrappers", | ||
long_description=long_description, | ||
author="Jesse Cooper", | ||
author_email="[email protected]", | ||
url="https://github.com/jessecooper/pyetrade", | ||
license="GPLv3", | ||
packages=["pyetrade"], | ||
package_dir={"pyetrade": "pyetrade"}, | ||
install_requires=req, | ||
packages=find_packages(exclude=["docs", "test*"]), | ||
install_requires=install_requires, | ||
platforms=["any"], | ||
keywords=["etrade", "pyetrade", "stocks"], | ||
classifiers=[ | ||
|
This file was deleted.
Oops, something went wrong.