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

installation error #11

Open
Alisarlak71 opened this issue May 24, 2024 · 1 comment
Open

installation error #11

Alisarlak71 opened this issue May 24, 2024 · 1 comment

Comments

@Alisarlak71
Copy link

Hello i get this error when try to install package
Screenshot 2024-05-24 064656

@Nwosu-Ihueze
Copy link

Replace your setup.py with this

import os

from setuptools import setup

here = os.path.abspath(os.path.dirname(__file__))

requires = [
    "pandas",
    "requests",
    "bs4",
]

test_requirements = ["pytest"]


about = {}
with open(
    os.path.join(here, "edgar", "__version__.py"), mode="r", encoding="utf-8"
) as f:
    exec(f.read(), about)

with open("README.md", mode="r", encoding="utf-8") as f:
    readme = f.read()

setup(
    name=about["__title__"],
    version=about["__version__"],
    description=about["__description__"],
    long_description=readme,
    long_description_content_type="text/markdown",
    author=about["__author__"],
    author_email=about["__author_email__"],
    url=about["__url__"],
    license=about["__license__"],
    packages=["edgar"],
    keywords=["sec", "edgar", "financials", "stock", "fundamental", "analysis"],
    python_requires=">=3.7",
    install_requires=requires,
    tests_require=test_requirements,
    classifiers=[
        "Intended Audience :: Developers",
        "Natural Language :: English",
        "Programming Language :: Python :: 3",
        "License :: OSI Approved :: MIT License",
        "Operating System :: OS Independent",
    ],
)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants