-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move project configuration to
pyproject.toml
- Loading branch information
Showing
3 changed files
with
48 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
[project] | ||
name = "zeek-client" | ||
dynamic = ["version"] | ||
description = "A CLI for Zeek's Management Framework" | ||
dependencies = [ | ||
"websocket-client>=1.8.0", | ||
] | ||
readme = "README.md" | ||
requires-python = ">= 3.8" | ||
license = {text = "3-clause BSD License"} | ||
|
||
classifiers = [ | ||
"Development Status :: 4 - Beta", | ||
"Environment :: Console", | ||
"License :: OSI Approved :: BSD License", | ||
"Operating System :: POSIX :: Linux", | ||
"Operating System :: MacOS :: MacOS X", | ||
"Programming Language :: Python :: 3", | ||
"Topic :: System :: Networking :: Monitoring", | ||
"Topic :: Utilities", | ||
] | ||
|
||
keywords=[ | ||
"zeek", | ||
"management", | ||
"client", | ||
"cluster", | ||
] | ||
|
||
[[project.maintainers]] | ||
name = "The Zeek Project" | ||
email = "[email protected]" | ||
|
||
[project.urls] | ||
Repository = "https://github.com/zeek/zeek-client" | ||
|
||
[project.optional-dependencies] | ||
dev = [ | ||
"pytest>=8.1.1", | ||
] | ||
|
||
[build-system] | ||
requires = ["setuptools"] | ||
|
||
[tool.setuptools] | ||
packages = ["zeekclient"] | ||
script-files = ["zeek-client"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,11 @@ | ||
from setuptools import setup | ||
|
||
|
||
def get_readme(): | ||
with open("README.md", encoding="utf-8") as readme: | ||
return readme.read() | ||
|
||
|
||
def get_version(): | ||
with open("VERSION", encoding="utf-8") as version: | ||
return version.read().replace("-", ".dev", 1).strip() | ||
|
||
|
||
setup( | ||
name="zeek-client", | ||
version=get_version(), | ||
description="A CLI for Zeek's Management Framework", | ||
long_description=get_readme(), | ||
long_description_content_type="text/markdown", | ||
license="3-clause BSD License", | ||
keywords="zeek management client cluster", | ||
maintainer="The Zeek Project", | ||
maintainer_email="[email protected]", | ||
url="https://github.com/zeek/zeek-client", | ||
scripts=["zeek-client"], | ||
packages=["zeekclient"], | ||
install_requires=["websocket-client"], | ||
python_requires=">=3.7.0", | ||
classifiers=[ | ||
"Development Status :: 4 - Beta", | ||
"Environment :: Console", | ||
"License :: OSI Approved :: BSD License", | ||
"Operating System :: POSIX :: Linux", | ||
"Operating System :: MacOS :: MacOS X", | ||
"Programming Language :: Python :: 3", | ||
"Topic :: System :: Networking :: Monitoring", | ||
"Topic :: Utilities", | ||
], | ||
) |