Skip to content

Commit

Permalink
Merge pull request #24 from endor-force/base
Browse files Browse the repository at this point in the history
Update base
  • Loading branch information
gjohansson-ST committed May 3, 2023
2 parents 69a1c99 + ab0bbcf commit 297e471
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 7 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
10 changes: 5 additions & 5 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -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
16 changes: 14 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -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"]
Expand Down

0 comments on commit 297e471

Please sign in to comment.