mirror of
https://github.com/hemna/aprsd-weewx-plugin.git
synced 2025-06-15 04:42:27 -04:00
Switched to pbr
This commit is contained in:
parent
4e0ce6188e
commit
be60cd5d35
49
setup.cfg
49
setup.cfg
@ -1,20 +1,37 @@
|
||||
[bumpversion]
|
||||
current_version = 0.1.0
|
||||
commit = True
|
||||
tag = True
|
||||
[metadata]
|
||||
name = aprsd_weewx_plugin
|
||||
long_description = file: README.rst
|
||||
long_description_content_type = text/x-rst
|
||||
author = Walter A. Boring IV
|
||||
author_email = waboring@hemna.com
|
||||
license_file = LICENSE.txt
|
||||
classifier =
|
||||
Topic :: Communications :: Ham Radio
|
||||
Operating System :: POSIX :: Linux
|
||||
Programming Language :: Python
|
||||
Programming Language :: Python :: 3.7
|
||||
Programming Language :: Python :: 3.8
|
||||
Programming Language :: Python :: 3.9
|
||||
description_file =
|
||||
README.rst
|
||||
summary = HAM Radio APRSD that reports weather from a weewx weather station.
|
||||
|
||||
[bumpversion:file:setup.py]
|
||||
search = version='{current_version}'
|
||||
replace = version='{new_version}'
|
||||
[global]
|
||||
setup-hooks =
|
||||
pbr.hooks.setup_hook
|
||||
|
||||
[bumpversion:file:aprsd_weewx_plugin/__init__.py]
|
||||
search = __version__ = '{current_version}'
|
||||
replace = __version__ = '{new_version}'
|
||||
[files]
|
||||
packages =
|
||||
aprsd_weewx_plugin
|
||||
|
||||
[bdist_wheel]
|
||||
universal = 1
|
||||
[build_sphinx]
|
||||
source-dir = doc/source
|
||||
build-dir = doc/build
|
||||
all_files = 1
|
||||
|
||||
[flake8]
|
||||
exclude = docs
|
||||
[tool:pytest]
|
||||
collect_ignore = ['setup.py']
|
||||
[upload_sphinx]
|
||||
upload-dir = doc/build/html
|
||||
|
||||
[mypy]
|
||||
ignore_missing_imports = True
|
||||
strict = True
|
||||
|
64
setup.py
64
setup.py
@ -1,44 +1,26 @@
|
||||
#!/usr/bin/env python
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
# implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
"""The setup script."""
|
||||
# THIS FILE IS MANAGED BY THE GLOBAL REQUIREMENTS REPO - DO NOT EDIT
|
||||
import setuptools
|
||||
|
||||
from setuptools import setup, find_packages
|
||||
# In python < 2.7.4, a lazy loading of package `pbr` will break
|
||||
# setuptools if some other modules registered functions in `atexit`.
|
||||
# solution from: http://bugs.python.org/issue15881#msg170215
|
||||
try:
|
||||
import multiprocessing # noqa
|
||||
except ImportError:
|
||||
pass
|
||||
|
||||
with open('README.rst') as readme_file:
|
||||
readme = readme_file.read()
|
||||
|
||||
with open('HISTORY.rst') as history_file:
|
||||
history = history_file.read()
|
||||
|
||||
requirements = [ ]
|
||||
|
||||
test_requirements = ['pytest>=3', ]
|
||||
|
||||
setup(
|
||||
author="Walter A. Boring IV",
|
||||
author_email='waboring@hemna.com',
|
||||
python_requires='>=3.6',
|
||||
classifiers=[
|
||||
'Development Status :: 2 - Pre-Alpha',
|
||||
'Intended Audience :: Developers',
|
||||
'License :: OSI Approved :: Apache Software License',
|
||||
'Natural Language :: English',
|
||||
'Programming Language :: Python :: 3',
|
||||
'Programming Language :: Python :: 3.6',
|
||||
'Programming Language :: Python :: 3.7',
|
||||
'Programming Language :: Python :: 3.8',
|
||||
],
|
||||
description="Ham Radio APRSD Weewx plugin for reporting weather from a weewx station",
|
||||
install_requires=requirements,
|
||||
license="Apache Software License 2.0",
|
||||
long_description=readme + '\n\n' + history,
|
||||
include_package_data=True,
|
||||
keywords='aprsd_weewx_plugin',
|
||||
name='aprsd_weewx_plugin',
|
||||
packages=find_packages(include=['aprsd_weewx_plugin', 'aprsd_weewx_plugin.*']),
|
||||
test_suite='tests',
|
||||
tests_require=test_requirements,
|
||||
url='https://github.com/hemna/aprsd_weewx_plugin',
|
||||
version='0.1.0',
|
||||
zip_safe=False,
|
||||
)
|
||||
setuptools.setup(setup_requires=["pbr"], pbr=True)
|
||||
|
Loading…
x
Reference in New Issue
Block a user