Skip to content

Commit

Permalink
updated build process
Browse files Browse the repository at this point in the history
  • Loading branch information
dmark04 committed Oct 19, 2023
1 parent f40c358 commit 7fcb667
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ jobs:

- name: Build package
run: |
python setup.py sdist bdist_wheel
python -m pip install --upgrade build
python -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@release/v1
Expand Down
6 changes: 4 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
requires = ["setuptools>=61", "wheel", "setuptools_scm"]

[tool.setuptools_scm]
write_to = "quantum_linear_solvers/_version.py"
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
long_description=long_description,
install_requires=install_requires,
packages=find_packages(),
setup_requires=["setuptools_scm"],
use_scm_version=True,
include_package_data=True,
license="Apache License 2.0",
Expand Down

0 comments on commit 7fcb667

Please sign in to comment.