diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index 893eb130..ca9fdba2 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -219,9 +219,9 @@ This will perform the following actions: 2. Bump the current version to the next release candidate, ``X.Y.Z.dev(N+1)`` After this is done, the new pre-release can be installed by including the ``dev`` section in the -dependency specification, either in ``setup.py``:: +dependency specification, either in ``pyproject.toml``:: - install_requires = [ + dependencies = [ ... 'ctgan>=X.Y.Z.dev', ... diff --git a/Makefile b/Makefile index ea6a8132..668fabf8 100644 --- a/Makefile +++ b/Makefile @@ -76,16 +76,9 @@ install-test: clean-build clean-pyc ## install the package and test dependencies install-develop: clean-build clean-pyc ## install the package in editable mode and dependencies for development pip install -e .[dev] -MINIMUM := $(shell sed -n '/install_requires = \[/,/]/p' setup.py | head -n-1 | tail -n+2 | sed 's/ *\(.*\),$?$$/\1/g' | tr '>' '=') - -.PHONY: install-minimum -install-minimum: ## install the minimum supported versions of the package dependencies - pip install $(MINIMUM) - # LINT TARGETS - .PHONY: lint lint: ## check style with flake8 and isort invoke lint @@ -138,8 +131,7 @@ coverage: ## check code coverage quickly with the default Python .PHONY: dist dist: clean ## builds source and wheel package - python setup.py sdist - python setup.py bdist_wheel + python -m build --wheel --sdist ls -l dist .PHONY: publish-confirm