Compare commits
3 Commits
fe29441d1d
...
664b215f16
Author | SHA1 | Date | |
---|---|---|---|
|
664b215f16 | ||
|
5fe756ce97 | ||
|
bf28862f1f |
27
.drone.yml
27
.drone.yml
@@ -10,11 +10,8 @@ platform:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Run unit test
|
- name: Run unit test
|
||||||
environment:
|
|
||||||
PYTHONPATH: ..
|
|
||||||
commands:
|
commands:
|
||||||
- cd src
|
- python3 tests/main.py
|
||||||
- python3 -m unittest -v lmwsip.tests
|
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
@@ -28,11 +25,8 @@ platform:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Run unit test
|
- name: Run unit test
|
||||||
environment:
|
|
||||||
PYTHONPATH: .
|
|
||||||
commands:
|
commands:
|
||||||
- cd src
|
- python3 tests/main.py
|
||||||
- python3 -m unittest -v lmwsip.tests
|
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
@@ -46,11 +40,8 @@ platform:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Run unit test
|
- name: Run unit test
|
||||||
environment:
|
|
||||||
PYTHONPATH: .
|
|
||||||
commands:
|
commands:
|
||||||
- cd src
|
- python3 tests/main.py
|
||||||
- python3 -m unittest -v lmwsip.tests
|
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
@@ -77,12 +68,9 @@ name: docker_python:3.6
|
|||||||
steps:
|
steps:
|
||||||
- name: Run unit test
|
- name: Run unit test
|
||||||
image: python:3.6
|
image: python:3.6
|
||||||
environment:
|
|
||||||
PYTHONPATH: .
|
|
||||||
commands:
|
commands:
|
||||||
- pip install python-dateutil
|
- pip install python-dateutil
|
||||||
- cd src
|
- tests/main.py
|
||||||
- python -m unittest -v lmwsip.tests
|
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
@@ -92,13 +80,10 @@ name: docker_python:latest
|
|||||||
steps:
|
steps:
|
||||||
- name: Run unit test
|
- name: Run unit test
|
||||||
image: python:latest
|
image: python:latest
|
||||||
environment:
|
|
||||||
PYTHONPATH: .
|
|
||||||
commands:
|
commands:
|
||||||
- pip install python-dateutil
|
- pip install python-dateutil
|
||||||
- python --version
|
- python --version
|
||||||
- cd src
|
- python tests/main.py
|
||||||
- python -m unittest -v lmwsip.tests
|
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
@@ -172,7 +157,7 @@ steps:
|
|||||||
- >
|
- >
|
||||||
[ $(python -c "import lmwsip; print(lmwsip.__version__)") =
|
[ $(python -c "import lmwsip; print(lmwsip.__version__)") =
|
||||||
$(python setup.py --version) ]
|
$(python setup.py --version) ]
|
||||||
- python -m unittest -v lmwsip.tests
|
- python tests/main.py
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
- master
|
- master
|
||||||
|
@@ -12,12 +12,10 @@ how to use it.
|
|||||||
|
|
||||||
## Installing
|
## Installing
|
||||||
|
|
||||||
The package is not available on [PyPI](https://pypi.org/).
|
Just install the package with 'pip':
|
||||||
At the moment the package is hosted at https://marceln.org/download/python.
|
|
||||||
|
|
||||||
You can install the package with pip:
|
|
||||||
```
|
```
|
||||||
pip install --extra-index-url https://marceln.org/download/python lmwsip
|
pip install lmwsip
|
||||||
```
|
```
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
@@ -1,16 +1,17 @@
|
|||||||
[metadata]
|
[metadata]
|
||||||
name = lmwsip
|
name = lmwsip
|
||||||
version = 0.9.3
|
version = 0.9.4
|
||||||
author = Marcel Nijenhof
|
author = Marcel Nijenhof
|
||||||
author_email = pypi@marceln.org
|
author_email = pypi@marceln.org
|
||||||
description = Interface for the lmw sip protocol
|
description = Interface for the lmw sip protocol
|
||||||
long_description = file: README.md
|
long_description = file: README.md
|
||||||
long_description_content_type = text/markdown
|
long_description_content_type = text/markdown
|
||||||
url = https://marceln.org/git/Werk/lmwsip
|
url = https://git.marceln.org/Werk/lmwsip
|
||||||
classifiers =
|
classifiers =
|
||||||
Programming Language :: Python :: 3
|
Programming Language :: Python :: 3
|
||||||
License :: OSI Approved :: MIT License
|
License :: OSI Approved :: MIT License
|
||||||
Operating System :: OS Independent
|
Operating System :: OS Independent
|
||||||
|
Development Status :: 4 - Beta
|
||||||
|
|
||||||
[options]
|
[options]
|
||||||
package_dir =
|
package_dir =
|
||||||
|
@@ -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.2'
|
__version__ = '0.9.4'
|
||||||
|
|
||||||
class LmwSip:
|
class LmwSip:
|
||||||
"""Class to connect to the LMW Standard Interface prototcol (sip)
|
"""Class to connect to the LMW Standard Interface prototcol (sip)
|
||||||
|
@@ -4,10 +4,10 @@ import sys
|
|||||||
import io
|
import io
|
||||||
import unittest
|
import unittest
|
||||||
import lmwsip
|
import lmwsip
|
||||||
import lmwsip.tests.stubSipServer
|
import stubSipServer
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
from lmwsip.tests.stubSipServer import sipServer
|
from stubSipServer import sipServer
|
||||||
from lmwsip.run import run
|
from lmwsip.run import run
|
||||||
from datetime import datetime, timedelta
|
from datetime import datetime, timedelta
|
||||||
from dateutil import tz
|
from dateutil import tz
|
Reference in New Issue
Block a user