Revision 141d0cf2809acf12328ae23204f8758a2e008b0f authored by Jonas Hoersch on 24 October 2023, 04:09:24 UTC, committed by Jonas Hoersch on 26 October 2023, 16:26:25 UTC
1 parent 228de28
Raw File
setup.py
# -*- coding: utf-8 -*-
from __future__ import absolute_import

from codecs import open

from setuptools import find_packages, setup

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

setup(
    name="pypsa",
    version="0.25.2",
    author="PyPSA Developers, see https://pypsa.readthedocs.io/en/latest/developers.html",
    author_email="t.brown@tu-berlin.de",
    description="Python for Power Systems Analysis",
    long_description=long_description,
    long_description_content_type="text/markdown",
    url="https://github.com/PyPSA/PyPSA",
    license="MIT",
    packages=find_packages(exclude=["doc", "test"]),
    include_package_data=True,
    python_requires=">=3.9",
    install_requires=[
        "numpy",
        "scipy",
        "pandas>=0.24",
        "xarray",
        "netcdf4",
        "tables",
        "pyomo>=5.7,<6.6.2",
        "linopy>=0.2.1",
        "matplotlib",
        "geopandas>=0.9",
        "networkx>=1.10",
        "deprecation",
        "validators",
        "numexpr<=2.8.4",  # until https://github.com/pandas-dev/pandas/issues/54449 resolved
    ],
    extras_require={
        "dev": ["pytest", "pypower", "pandapower", "scikit-learn"],
        "cartopy": ["cartopy>=0.16"],
        "docs": [
            "numpydoc",
            "sphinx",
            "sphinx-book-theme",
            "nbsphinx",
            "nbsphinx-link",
            "black",
            "scikit-learn",
        ],
        "gurobipy": ["gurobipy"],
    },
    classifiers=[
        "Development Status :: 5 - Production/Stable",
        "Environment :: Console",
        "Intended Audience :: Science/Research",
        "License :: OSI Approved :: MIT License",
        "Natural Language :: English",
        "Operating System :: OS Independent",
    ],
)
back to top