Skip to content

Upgrade from setup.py to pyproject.toml, and add a build script - #42

Open
knoxsp wants to merge 1 commit into
masterfrom
pypi_integration
Open

Upgrade from setup.py to pyproject.toml, and add a build script#42
knoxsp wants to merge 1 commit into
masterfrom
pypi_integration

Conversation

@knoxsp

@knoxsp knoxsp commented Jun 26, 2025

Copy link
Copy Markdown
Contributor

No description provided.

@knoxsp
knoxsp requested review from Copilot and pmslavin June 26, 2025 13:50

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR migrates packaging from setup.py to pyproject.toml and introduces a build.sh script for cleaning, building, and uploading the package.

  • Removes legacy setup.py
  • Adds pyproject.toml to define project metadata and build system
  • Adds build.sh for automated build and release steps

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
setup.py Removed legacy setuptools-based installer
pyproject.toml Added project metadata, dependencies, and build system configuration
build.sh New script to clean, build, and upload the package
Comments suppressed due to low confidence (1)

pyproject.toml:11

  • Include the Windows-specific 'winpaths' dependency with a platform marker (e.g., winpaths ; sys_platform == "win32") to preserve previous Windows support.
dependencies=[

Comment thread pyproject.toml
@@ -0,0 +1,32 @@
[project]
name="hydra-server"
description="A JSON RPC web server to interact with the Hydra Platform Base Libary"

Copilot AI Jun 26, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix typo in the description: 'Libary' should be 'Library'.

Suggested change
description="A JSON RPC web server to interact with the Hydra Platform Base Libary"
description="A JSON RPC web server to interact with the Hydra Platform Base Library"

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants