From ab0bbcf33e2be721f5a146f2d5bf9e24c195412b Mon Sep 17 00:00:00 2001 From: G Johansson Date: Wed, 3 May 2023 21:01:28 +0200 Subject: [PATCH] Update base --- README.md | 2 ++ requirements.txt | 10 +++++----- setup.py | 16 ++++++++++++++-- 3 files changed, 21 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 89a8be0..b756e53 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ # pytrafikverket python module for communicating with the swedish trafikverket api +Development and testing done with 3.10 + ## Code example ```python from pytrafikverket import TrafikverketTrain, StationInfo diff --git a/requirements.txt b/requirements.txt index fe68e7d..884bd64 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,11 +1,11 @@ -aiohttp==3.7.4 -async-timeout>3.0.0 -attrs==17.4.0 +aiohttp==3.8.4 +async-timeout>4.0.2 +attrs==22.2.0 chardet==3.0.4 idna>=2.6 idna-ssl>=1.0.1 -lxml>=4.2.1 +lxml>=4.9.1 multidict==4.5.0 pip setuptools -yarl==1.1.1 +yarl==1.9.2 diff --git a/setup.py b/setup.py index 04343ef..09a31df 100644 --- a/setup.py +++ b/setup.py @@ -1,16 +1,28 @@ """Setup for pytrafikverket.""" -from setuptools import setup +from setuptools import setup, find_packages + +with open("README.md", "r", encoding="UTF-8") as fh: + long_description = fh.read() setup( name="pytrafikverket", version="0.2.3", description="Retreive values from public API at the Swedish Transport Administration (Trafikverket).", + long_description=long_description, + long_description_content_type="text/markdown", url="https://github.com/endor-force/pytrafikverket", author="Peter Andersson, Jonas Karlsson", license="MIT", + classifiers=[ + "Development Status :: 5 - Production/Stable", + "License :: OSI Approved :: MIT License", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + ], install_requires=["aiohttp", "async-timeout", "lxml"], - packages=["pytrafikverket"], + packages=find_packages(), + include_package_data=True, zip_safe=True, entry_point={ "console_scripts": ["pytrafikverket=pytrafikverket.pytrafikverket:main"]