Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ install: Makefile
pipenv run pre-commit install --hook-type pre-commit --hook-type pre-push

build: Makefile
pipenv run python setup.py sdist
uv build --sdist --wheel --out-dir dist

publish: Makefile
twine upload dist/*
2 changes: 1 addition & 1 deletion constructor_io/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
'''Version File'''
__version__ = "1.9.1"
from constructor_io._version import __version__
2 changes: 2 additions & 0 deletions constructor_io/_version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
'''Version File'''
__version__ = "1.9.1"
27 changes: 27 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
[build-system]
requires = ["setuptools>=77.0.0", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "constructor-io"
dynamic = ["version"]
description = "Constructor.io Python Client"
readme = {file = "README.md", content-type = "text/markdown"}
license = "MIT"
authors = [
{name = "Constructor.io Corporation", email = "info@constructor.io"},
]
dependencies = [
"requests~=2.26",
]

[project.urls]
Homepage = "https://www.constructor.io"

[tool.setuptools.packages.find]
include = ["constructor_io", "constructor_io.*"]
exclude = ["tests", "tests.*"]
namespaces = false

[tool.setuptools.dynamic]
version = {attr = "constructor_io._version.__version__"}
1 change: 0 additions & 1 deletion pytest.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[pytest]
addopts =
--doctest-modules
--ignore setup.py
--cov-report=term
--cov-report=html:coverage/
--cov=constructor_io
25 changes: 0 additions & 25 deletions setup.py

This file was deleted.