diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..088dbc0 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,73 @@ +# pyproject.toml +[tool.poetry] +name = "hsparse" +description = "Scripts for parsing Hubspot data." +authors = [ + "Jeff Moe " +] +license = "MIT" +classifiers = [ + "Development Status :: 3 - Alpha", + "Environment :: Console", + "Intended Audience :: Developers", + "Intended Audience :: System Administrators", + "License :: OSI Approved :: MIT License", + "Natural Language :: English", + "Operating System :: POSIX :: Linux", + "Programming Language :: Python :: 3", + "Topic :: System :: Systems Administration", + "Topic :: Utilities", +] +packages = [ + { include = "hsparse" }, +] +readme = "README.md" +version = "0.0.1" + + +[tool.poetry.dependencies] +python = "^3.10" +setuptools_scm = "*" + + +[build-system] +requires = ["poetry-core", "setuptools_scm"] +build-backend = "poetry.core.masonry.api" + +[tool.poetry.scripts] +hsparse = "hsparse.main:parse_csv_contacts" + +[tool.poetry.urls] +homepage = "https://libre.is/libre/hsparse" +documentation = "https://libre.is/libre/hsparse" +repository = "https://libre.is/libre/hsparse" +issues = "https://libre.is/libre/hsparse/issues" +changelog = "https://libre.is/libre/hsparse/raw/branch/main/CHANGELOG.txt" + +[options.packages.find] +include = "hsparse" + +[options.package_data] +hsparse = "_version.py" + +[tool.poetry.dev-dependencies] +black = "*" +poetry = "*" +pyprof2calltree = "*" +ruff = "*" +twine = "*" + +[tool.setuptools_scm] +write_to = "hsparse/_version.py" + +[tool.ruff] +line-length = 88 + +[tool.ruff.lint] +select = [ + "E", + "W", + "F", +] + +ignore = [ "E501" ]