Files
weewx/pyproject.toml
Tom Keffer 6cd5dc91f6 Refactor, using 'src' instead of 'bin' to hold the source code.
wee_resources becomes weewx_data, and is put in version control.
The build documentation, as well as the 'user' subdirectory, are now
in it.

This allows weewxd to be run directly from the git repository for
two reasons: 1) the documentation does not have to be built first.
2) because the source code is now under 'src', while the 'user'
subdirectory is in weewx_data, weewxd does not accidentally pick
up the repository's version of the 'user' subdirectory.
2023-10-17 05:14:34 -07:00

75 lines
2.2 KiB
TOML

[tool.poetry]
name = "weewx"
version = "5.0.0b14"
description = "The WeeWX weather software system. This is an BETA release, and may have many bugs!"
authors = ["Tom Keffer <tkeffer@gmail.com>"]
license = "GPL3"
readme = 'README.md'
repository = "https://github.com/weewx/weewx"
homepage = "https://weewx.com"
documentation = "https://weewx.com/docs"
classifiers = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: End Users/Desktop',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Operating System :: POSIX :: Linux',
'Operating System :: Unix',
'Operating System :: MacOS',
'Programming Language :: Python',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Topic :: Scientific/Engineering :: Physics'
]
packages = [
{ include = "schemas", from = "src" },
{ include = "weewx_data", from = "src" },
{ include = "weecfg", from = "src" },
{ include = "weectllib", from = "src" },
{ include = "weedb", from = "src" },
{ include = "weeimport", from = "src" },
{ include = "weeplot", from = "src" },
{ include = "weeutil", from = "src" },
{ include = "weewx", from = "src" },
{ include = "wee_import.py", from = "src" },
{ include = "wee_reports.py", from = "src" },
{ include = "weectl.py", from = "src" },
{ include = "weewxd.py", from = "src" },
]
include = [
{ path = "LICENSE.txt" },
{ path = "README.md"},
]
exclude = [
'./src/**/tests/**/*',
]
[tool.poetry.dependencies]
python = "^3.7"
configobj = "^5.0"
# This is the renamed "Cheetah" package:
CT3 = "^3.1"
Pillow = ">=5.2"
ephem = "^4.1"
PyMySQL = "^1.0"
pyserial = "^3.4"
pyusb = "^1.0.2"
[tool.poetry.scripts]
wee_import = 'wee_import:main'
wee_reports = 'wee_reports:main'
weectl = 'weectl:main'
weewxd = 'weewxd:main'
[build-system]
# Minimum requirements for the build system to execute.
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"