7 Commits
Author SHA1 Message Date
Marcel Nijenhof 08cd160713 Lokale test omgeschreven naar tox
continuous-integration/drone/push Build is failing
2021-12-31 22:42:04 +01:00
Marcel Nijenhof da80bd93d9 Files verwijderd uit oorspronkelijke dir. 2021-12-31 22:25:43 +01:00
Marcel Nijenhof 61997df1f3 Build weer werkend gemaakt.
continuous-integration/drone/push Build is failing
2021-12-31 22:18:17 +01:00
Marcel Nijenhof 047bb783b7 Versie update
continuous-integration/drone/push Build is failing
2021-12-29 15:14:53 +01:00
Marcel Nijenhof 281bbfdac4 Correctie setup.cfg voor upload pypi 2021-12-28 22:47:03 +01:00
Marcel Nijenhof bcd761653f Aanpassing precommit hoek op setup.cfg 2021-12-28 22:27:42 +01:00
Marcel Nijenhof f521992f58 pyproject.toml & setup.cfg toegevoegd 2021-12-28 22:22:39 +01:00
10 changed files with 44 additions and 29 deletions
+1
View File
@@ -7,3 +7,4 @@ lmwsip_marceln.egg-info
test/__pycache__ test/__pycache__
lmwsip.egg-info lmwsip.egg-info
*.swp *.swp
.tox
+3 -3
View File
@@ -2,9 +2,9 @@
set -e set -e
VERSION=$(grep version setup.py | sed -e 's/.*="//' -e 's/",//') VERSION=$(grep version setup.cfg | sed 's/.*= *//')
sed -i "s/^__version__ = .*/__version__ = '${VERSION}'/" lmwsip/__init__.py sed -i "s/^__version__ = .*/__version__ = '${VERSION}'/" src/lmwsip/__init__.py
git add lmwsip/__init__.py git add lmwsip/__init__.py
python setup.py test tox
yamllint .drone.yml yamllint .drone.yml
+6
View File
@@ -0,0 +1,6 @@
[build-system]
requires = [
"setuptools>=42",
"wheel"
]
build-backend = "setuptools.build_meta"
+24
View File
@@ -0,0 +1,24 @@
[metadata]
name = lmwsip
version = 0.9.1
author = Marcel Nijenhof
author_email = pypi@marceln.org
description = Interface for the lmw sip protocol
long_description = file: README.md
long_description_content_type = text/markdown
url = https://marceln.org/git/Werk/lmwsip
classifiers =
Programming Language :: Python :: 3
License :: OSI Approved :: MIT License
Operating System :: OS Independent
[options]
package_dir =
= src
install_requires =
python-dateutil
packages = find:
python_requires = >= 3.6
[options.packages.find]
where = src
+3 -25
View File
@@ -1,26 +1,4 @@
import setuptools from setuptools import setup
with open("README.md", "r") as fh: if __name__ == "__main__":
long_description = fh.read() setup()
setuptools.setup(
name="lmwsip", # Replace with your own username
version="0.9.0",
author="Marcel Nijenhof",
author_email="pip@marceln.org",
description="Interface for the lmw sip protocol",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://marceln.org/git/Werk/lmwsip",
packages=setuptools.find_packages(),
install_requires=[
'python-dateutil'
],
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Lmw sip interface"
],
python_requires='>=3.6',
)
@@ -12,7 +12,7 @@ from datetime import datetime, timedelta
from dateutil import tz from dateutil import tz
""" Version info changed by git hook """ """ Version info changed by git hook """
__version__ = '0.9.0' __version__ = '0.9.1'
class LmwSip: class LmwSip:
"""Class to connect to the LMW Standard Interface prototcol (sip) """Class to connect to the LMW Standard Interface prototcol (sip)
View File
+6
View File
@@ -0,0 +1,6 @@
[tox]
envlist = py36,py37,py38,py310
[testenv]
deps = python-dateutil
commands = python -m unittest -v lmwsip.tests