Skip to content

Commit

Permalink
Merge pull request #107 from Point72/tkp/sdist
Browse files Browse the repository at this point in the history
Build sdist with build to ensure proper readme contents and format
  • Loading branch information
ngoldbaum authored Feb 20, 2024
2 parents 1b81df1 + 9ee3d33 commit 08da9a8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ major:
dist-py: dist-py-sdist # Build python dist
dist-py-sdist:
rm -rf csp/lib/*
python setup.py sdist
python -m build --sdist -n

dist-py-wheel:
python setup.py bdist_wheel $(EXTRA_ARGS)
Expand Down
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ requires = [
"pyarrow>=7.0.0",
"ruamel.yaml",
"scikit-build",
"setuptools>=69",
]
build-backend="setuptools.build_meta"

Expand Down Expand Up @@ -52,6 +53,7 @@ Tracker = "https://github.com/point72/csp/issues"
[project.optional-dependencies]
develop = [
"bump2version>=1.0.0",
"build",
"graphviz",
"httpx",
"isort",
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
cmake_args.append("-DCSP_USE_CCACHE=On")

print(f"CMake Args: {cmake_args}")

setup(
name="csp",
version="0.0.1",
Expand Down

0 comments on commit 08da9a8

Please sign in to comment.