Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HARMONY-1909, HARMONY-1921: Replace setup.py with pyproject.toml; Fix tutorial notebook; Update WKT LINESTRING docs #95

Merged
merged 5 commits into from
Oct 16, 2024
Merged
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
7 changes: 5 additions & 2 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ build:
sphinx:
configuration: docs/conf.py

# Optionally set the version of Python and requirements required to build your docs
# Install Python dependencies using pyproject.toml
python:
install:
- requirements: requirements/docs.txt
- method: pip
path: .
extra_requirements:
- docs
8 changes: 2 additions & 6 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
# Include the README, et. al.
include *.md

# Include the license file
# Include license and setup files
include LICENSE
include pyproject.toml

# Include setup.py
include setup.py

# include requirements files opened in setup.py
graft requirements
9 changes: 5 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,11 @@ clean-docs:

install:
python -m pip install --upgrade pip
pip install -r requirements/core.txt -r requirements/dev.txt -r requirements/docs.txt
pip install .
pip install .[dev,docs]

install-examples: install
pip install -r requirements/examples.txt
pip install .[examples]

examples: install-examples
jupyter-lab
Expand All @@ -45,8 +46,8 @@ version:
sed -i.bak "s/__version__ .*/__version__ = \"$(VERSION)\"/" harmony/__init__.py && rm harmony/__init__.py.bak

build: clean version
python -m pip install --upgrade --quiet setuptools wheel twine
python setup.py --quiet sdist bdist_wheel
python -m pip install --upgrade --quiet setuptools wheel twine build
python -m build

publish: build
python -m twine check dist/*
Expand Down
Loading