Compare commits
4 Commits
230b929b4c
...
047bb783b7
Author | SHA1 | Date | |
---|---|---|---|
|
047bb783b7 | ||
|
281bbfdac4 | ||
|
bcd761653f | ||
|
f521992f58 |
@@ -2,7 +2,7 @@
|
||||
|
||||
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
|
||||
git add lmwsip/__init__.py
|
||||
|
||||
|
@@ -12,7 +12,7 @@ from datetime import datetime, timedelta
|
||||
from dateutil import tz
|
||||
|
||||
""" Version info changed by git hook """
|
||||
__version__ = '0.9.0'
|
||||
__version__ = '0.9.1'
|
||||
|
||||
class LmwSip:
|
||||
"""Class to connect to the LMW Standard Interface prototcol (sip)
|
||||
|
6
pyproject.toml
Normal file
6
pyproject.toml
Normal file
@@ -0,0 +1,6 @@
|
||||
[build-system]
|
||||
requires = [
|
||||
"setuptools>=42",
|
||||
"wheel"
|
||||
]
|
||||
build-backend = "setuptools.build_meta"
|
16
setup.cfg
Normal file
16
setup.cfg
Normal file
@@ -0,0 +1,16 @@
|
||||
[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]
|
||||
python_requires = >= 3.6
|
28
setup.py
28
setup.py
@@ -1,26 +1,4 @@
|
||||
import setuptools
|
||||
from setuptools import setup
|
||||
|
||||
with open("README.md", "r") as fh:
|
||||
long_description = fh.read()
|
||||
|
||||
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',
|
||||
)
|
||||
if __name__ == "__main__":
|
||||
setup()
|
||||
|
Reference in New Issue
Block a user