From cc7fe3973dd210e68a5f30465e436207b2b8a462 Mon Sep 17 00:00:00 2001 From: Sammy Sidhu <sammy.sidhu@gmail.com> Date: Fri, 21 Feb 2025 15:59:59 -0800 Subject: [PATCH 1/3] Rename Package and Docs to daft-pgm --- docs/index.rst | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/index.rst b/docs/index.rst index 8b8ae47..837e9eb 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -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: diff --git a/pyproject.toml b/pyproject.toml index b62981a..1bf9813 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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"}, ] From 652817f2a704851303a759df290e050ca746f4d4 Mon Sep 17 00:00:00 2001 From: Sammy Sidhu <sammy.sidhu@gmail.com> Date: Fri, 21 Feb 2025 16:02:36 -0800 Subject: [PATCH 2/3] add config option for docs build --- .readthedocs.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 03a72f8..93f07e2 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -17,3 +17,5 @@ python: sphinx: builder: dirhtml + configuration: docs/conf.py + From d6529ffe5e38f9377643f10d0e3b1d3f47bb4a5e Mon Sep 17 00:00:00 2001 From: Sammy Sidhu <sammy.sidhu@gmail.com> Date: Fri, 21 Feb 2025 16:11:47 -0800 Subject: [PATCH 3/3] update get_distribution to use daft-pgm --- docs/conf.py | 2 +- src/daft/__init__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index d2cad31..2cb28fa 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -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 diff --git a/src/daft/__init__.py b/src/daft/__init__.py index 0ae9017..e16598a 100644 --- a/src/daft/__init__.py +++ b/src/daft/__init__.py @@ -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__