first commit
This commit is contained in:
commit
a233e18c0b
48 changed files with 55300 additions and 0 deletions
96
setup.py
Normal file
96
setup.py
Normal file
|
@ -0,0 +1,96 @@
|
|||
"""
|
||||
Setup configuration for Atmo Data Wrapper package
|
||||
"""
|
||||
|
||||
from setuptools import setup, find_packages
|
||||
import os
|
||||
|
||||
# Read the README file
|
||||
with open("docs/README.md", "r", encoding="utf-8") as fh:
|
||||
long_description = fh.read()
|
||||
|
||||
# Read version from package
|
||||
def get_version():
|
||||
"""Extract version from package __init__.py"""
|
||||
import sys
|
||||
sys.path.insert(0, os.path.dirname(__file__))
|
||||
from atmo_data_wrapper import __version__
|
||||
return __version__
|
||||
|
||||
setup(
|
||||
name="atmo-data-wrapper",
|
||||
version=get_version(),
|
||||
author="Atmo Data Wrapper Team",
|
||||
author_email="contact@atmo-france.org",
|
||||
description="Wrapper Python pour l'API Atmo Data",
|
||||
long_description=long_description,
|
||||
long_description_content_type="text/markdown",
|
||||
url="https://github.com/atmo-france/atmo-data-wrapper",
|
||||
project_urls={
|
||||
"Bug Tracker": "https://github.com/atmo-france/atmo-data-wrapper/issues",
|
||||
"Documentation": "https://github.com/atmo-france/atmo-data-wrapper/blob/main/docs/README.md",
|
||||
"API Documentation": "https://admindata.atmo-france.org/api/doc/v2",
|
||||
"Atmo France": "https://www.atmo-france.org"
|
||||
},
|
||||
packages=find_packages(),
|
||||
classifiers=[
|
||||
"Development Status :: 5 - Production/Stable",
|
||||
"Intended Audience :: Developers",
|
||||
"Intended Audience :: Science/Research",
|
||||
"Topic :: Scientific/Engineering :: Atmospheric Science",
|
||||
"Topic :: Software Development :: Libraries :: Python Modules",
|
||||
"License :: OSI Approved :: MIT License",
|
||||
"Programming Language :: Python :: 3",
|
||||
"Programming Language :: Python :: 3.7",
|
||||
"Programming Language :: Python :: 3.8",
|
||||
"Programming Language :: Python :: 3.9",
|
||||
"Programming Language :: Python :: 3.10",
|
||||
"Programming Language :: Python :: 3.11",
|
||||
"Programming Language :: Python :: 3.12",
|
||||
"Operating System :: OS Independent",
|
||||
"Natural Language :: French",
|
||||
],
|
||||
python_requires=">=3.7",
|
||||
install_requires=[
|
||||
"requests>=2.25.0",
|
||||
],
|
||||
extras_require={
|
||||
"dev": [
|
||||
"pytest>=6.0",
|
||||
"pytest-cov",
|
||||
"black",
|
||||
"flake8",
|
||||
"mypy",
|
||||
],
|
||||
"docs": [
|
||||
"sphinx",
|
||||
"sphinx-rtd-theme",
|
||||
],
|
||||
},
|
||||
entry_points={
|
||||
"console_scripts": [
|
||||
"atmo-data-test=atmo_data_wrapper.core.client:main",
|
||||
],
|
||||
},
|
||||
include_package_data=True,
|
||||
package_data={
|
||||
"atmo_data_wrapper": [
|
||||
"*.json",
|
||||
"core/*.json",
|
||||
],
|
||||
},
|
||||
keywords=[
|
||||
"atmo",
|
||||
"air quality",
|
||||
"pollution",
|
||||
"environment",
|
||||
"france",
|
||||
"aasqa",
|
||||
"api",
|
||||
"wrapper",
|
||||
"qualité air",
|
||||
"pollen",
|
||||
"emissions"
|
||||
],
|
||||
zip_safe=False,
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue