diff --git a/setup.py b/setup.py index 9dd8abaca5..28d31b53d5 100644 --- a/setup.py +++ b/setup.py @@ -1,18 +1,33 @@ -import setuptools +from pathlib import Path -with open("README.md", "r") as fh: - long_description = fh.read() +from setuptools import setup, find_packages -setuptools.setup( +setup( name="AntaREST", version="2.15.0", description="Antares Server", - long_description=long_description, + long_description=Path("README.md").read_text(encoding="utf-8"), long_description_content_type="text/markdown", + author="RTE, Antares Web Team", + author_email="andrea.sgattoni@rte-france.com", url="https://github.com/AntaresSimulatorTeam/api-iso-antares", - packages=setuptools.find_packages(), + packages=find_packages(), + license="Apache Software License", + platforms=[ + "linux-x86_64", + "macosx-10.14-x86_64", + "macosx-10.15-x86_64", + "macosx-11-x86_64", + "macosx-12-x86_64", + "macosx-13-x86_64", + "win-amd64", + ], classifiers=[ - "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", "License :: Apache License :: 2.0", "Operating System :: OS Independent", ],