module: adopt poetry dependency manager
parent
d279417b81
commit
1b3fc8f2df
@ -1,4 +1,5 @@
|
||||
.pytest_cache/
|
||||
__pycache__/
|
||||
*.egg-info/
|
||||
*.py[cod]
|
||||
Pipfile.lock
|
||||
poetry.lock
|
||||
|
@ -1,14 +0,0 @@
|
||||
[[source]]
|
||||
url = 'https://pypi.python.org/simple'
|
||||
|
||||
[requires]
|
||||
python_version = '2.7'
|
||||
|
||||
[packages]
|
||||
smbus2 = '*'
|
||||
|
||||
[dev-packages]
|
||||
mock = '*'
|
||||
pylint = '< 2'
|
||||
pytest = '< 5'
|
||||
snapshottest = '*'
|
@ -0,0 +1,23 @@
|
||||
[build-system]
|
||||
requires = ["poetry>=1.0"]
|
||||
build-backend = "poetry.masonry.api"
|
||||
|
||||
[tool.poetry]
|
||||
name = "veml6070"
|
||||
version = "1.0.0"
|
||||
description = "A python library for accessing the VEML6070 digital UV light sensor from Vishay."
|
||||
authors = ["Christian Nicolai"]
|
||||
license = "MIT"
|
||||
homepage = "https://dev.mycrobase.de/gitea/cn/python-veml6070"
|
||||
|
||||
[tool.poetry.dependencies]
|
||||
python = "^2.7 || ^3.4"
|
||||
smbus2 = "*"
|
||||
|
||||
[tool.poetry.dev-dependencies]
|
||||
mock = "*"
|
||||
pylint = "*"
|
||||
pytest = "*"
|
||||
snapshottest = "*"
|
||||
rope = "*"
|
||||
yapf = "*"
|
@ -1,13 +0,0 @@
|
||||
from setuptools import setup
|
||||
|
||||
setup(name='veml6070',
|
||||
version='1.0.0',
|
||||
packages=['veml6070'],
|
||||
|
||||
install_requires=['smbus2'],
|
||||
python_requires='>=2.7',
|
||||
|
||||
url='https://dev.mycrobase.de/gitea/cn/python-veml6070',
|
||||
author='Christian Nicolai',
|
||||
description=' A python library for accessing the VEML6070 digital UV light sensor from Vishay.',
|
||||
long_description=open('README.md').read())
|
Loading…
Reference in New Issue