Skip to content

Commit

Permalink
using setup.cfg now
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick-zippenfenig committed Aug 28, 2020
1 parent 88cd441 commit af372c1
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 24 deletions.
42 changes: 42 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
[metadata]
name = mbdataset
description = Easy access to the meteoblue dataset API
author = meteoblue AG
author_email = [email protected]
long_description = file: README.md
long_description_content_type = text/markdown
license = MIT License
url = https://github.com/meteoblue/python-dataset-sdk
classifiers =
Programming Language :: Python :: 3
License :: OSI Approved :: MIT License
keywords =
meteoblue

[options]
packages = find:
include_package_data = True
python_requires = >=3.7
install_requires =
aiohttp>=3.6,<4
protobuf>=3.0,<4
setup_requires =
setuptools_scm

[options.extras_require]
dev =
pytest
flake8
test =
pytest

[flake8]
ignore = E203, W503
max-line-length = 88
exclude =
.git,
__pycache__,
build,
dist,
.venv,
mbdataset/__init__.py
27 changes: 3 additions & 24 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,26 +1,5 @@
import setuptools
import os

with open("README.md", "r") as fh:
long_description = fh.read()
from setuptools import find_packages, setup

setuptools.setup(
name="mbdataset",
version="0.0.10",
author="Jonas Wolff",
author_email="[email protected]",
description="Provides easy access to meteoblue dataset api.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/meteoblue/python-dataset-sdk",
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires='>=3.7',
install_requires=[
"aiohttp>=3.6,<4",
"protobuf>=3.0,<4"
]
)
setup(use_scm_version=True,)

0 comments on commit af372c1

Please sign in to comment.