Skip to content

Commit

Permalink
Update packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
jshcodes committed Oct 29, 2024
1 parent 330ccc5 commit 49ca2a1
Show file tree
Hide file tree
Showing 4 changed files with 99 additions and 289 deletions.
165 changes: 0 additions & 165 deletions dev_setup.py

This file was deleted.

99 changes: 99 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "crowdstrike-falconpy"
dynamic = ["version"]
description = "The CrowdStrike Falcon SDK for Python"
readme = "README.md"
license = {file = "LICENSE"}
requires-python = ">=3.7"
authors = [
{ name = "CrowdStrike", email = "falconpy@crowdstrike.com" },
]
maintainers = [
{ name = "Joshua Hiller", email = "falconpy@crowdstrike.com" },
]
keywords = [
"api",
"crowdstrike",
"crowdstrike-falcon",
"devsecops",
"falcon",
"oauth2",
"sdk"
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Framework :: Flake8",
"Intended Audience :: Developers",
"License :: OSI Approved :: The Unlicense (Unlicense)",
"Natural Language :: English",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Operating System :: OS Independent",
"Operating System :: POSIX",
"Operating System :: POSIX :: Linux",
"Operating System :: Unix",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"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",
"Programming Language :: Python :: 3.13",
"Topic :: Security",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: System :: Systems Administration",
"Topic :: Utilities",
]
dependencies = [
"requests",
"urllib3",
]

[project.optional-dependencies]
dev = [
"bandit",
"coverage",
"flake8",
"pydocstyle",
"pylint",
"pytest",
"pytest-cov"
]

[project.urls]
Documentation = "https://www.falconpy.io"
Homepage = "https://github.com/CrowdStrike/falconpy"
Source = "https://github.com/CrowdStrike/falconpy/tree/main/src/falconpy"
Tracker = "https://github.com/CrowdStrike/falconpy/issues"

[tool.hatch.version]
source = "code"
path = "src/falconpy/_version.py"
expression = "_VERSION"

[tool.hatch.build.targets.sdist]
exclude = [
"/.github",
"/build",
"/cut",
"/docs",
"/htmlcov",
"/samples",
"/util",
"/.gitignore",
"/requirements.txt",
"/requirements-dev.txt"
]

[tool.hatch.build.targets.wheel]
package = [
"src/falconpy"
]
include = ["src/falconpy"]
sources = ["src"]
1 change: 0 additions & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,4 @@ pytest-cov>=2.11.1 # via -r requirements-dev.in
pytest>=6.2.2 # via -r requirements-dev.in
ipython>=8.10.0 # via -r requirements-dev.in, pinned by Snyk to avoid SNYK-PYTHON-IPYTHON-3318382
pydocstyle>=6.1.0
setuptools~=70.3.0 # pinning to avoid failures with new iterations of setuptools
zipp>=3.19.1 # not directly required, pinned by Snyk
123 changes: 0 additions & 123 deletions setup.py

This file was deleted.

0 comments on commit 49ca2a1

Please sign in to comment.