Skip to content

Commit

Permalink
change setup.py file
Browse files Browse the repository at this point in the history
  • Loading branch information
jessecooper committed Jan 5, 2022
1 parent 2e146e7 commit 43e29cf
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
22 changes: 16 additions & 6 deletions setup.py
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=[
Expand Down
10 changes: 0 additions & 10 deletions tests/__init__.py

This file was deleted.

0 comments on commit 43e29cf

Please sign in to comment.