Skip to content

Commit

Permalink
Rename Package and Docs to daft-pgm (#227)
Browse files Browse the repository at this point in the history
* Rename Package and Docs to daft-pgm

* add config option for docs build

* update get_distribution to use daft-pgm
  • Loading branch information
samster25 authored Feb 26, 2025
1 parent 342e663 commit f14461b
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@ python:

sphinx:
builder: dirhtml
configuration: docs/conf.py

2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from pkg_resources import get_distribution, DistributionNotFound

try:
__version__ = get_distribution("daft").version
__version__ = get_distribution("daft-pgm").version
except DistributionNotFound:
pass

Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ if you use `pip <http://www.pip-installer.org>`_:

.. code-block:: bash
python -m pip install daft
python -m pip install 'daft-pgm'
Otherwise, you can download the source and run:

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ requires = ["setuptools>=30.3.0", "wheel", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"

[project]
name = "daft"
name = "daft-pgm"
authors = [
{name = "Daft Developers", email = "danfm@nyu.edu"},
]
Expand Down
2 changes: 1 addition & 1 deletion src/daft/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from ._exceptions import SameLocationError
from ._utils import _rendering_context, _pop_multiple

__version__ = get_distribution("daft")
__version__ = get_distribution("daft-pgm")
__all__ = []
__all__ += _core.__all__
__all__ += _exceptions.__all__
Expand Down

0 comments on commit f14461b

Please sign in to comment.