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

update pyproject.toml packaging #5

Open
prjemian opened this issue Jun 14, 2024 · 5 comments
Open

update pyproject.toml packaging #5

prjemian opened this issue Jun 14, 2024 · 5 comments
Assignees
Labels
enhancement New feature or request

Comments

@prjemian
Copy link
Collaborator

prjemian commented Jun 14, 2024

Will change this code after we create the first git tag in the repository.

Originally posted by @prjemian in #3 (comment)


Most content after this point should be moved to pyproject.toml (which will be used as the one place to define most of the project's metadata):

__settings_orgName__ = "BCDA-APS"
__package_name__ = "qsui"
__version__ = (
"0.0.1" # extract_version(Path(__file__).parent.parent / "pyproject.toml")
)


Any work on this issue should wait until the rename PR is merged:

@prjemian prjemian changed the title create the first git tag update pyproject.toml packaging & create the first git tag Jun 14, 2024
@prjemian
Copy link
Collaborator Author

@prjemian
Copy link
Collaborator Author

With a switch from setuptools, we can drop this section:

queueUI/pyproject.toml

Lines 28 to 29 in dd3569a

[tool.setuptools]
package-dir = {"qsui" = "qsui"}

@prjemian
Copy link
Collaborator Author

We may need to expand the [project] section, such as in gemviz.

@prjemian prjemian self-assigned this Jun 14, 2024
@prjemian prjemian added the enhancement New feature or request label Jun 14, 2024
@prjemian prjemian mentioned this issue Jun 14, 2024
@rodolakis rodolakis self-assigned this Jun 14, 2024
@rodolakis
Copy link
Collaborator

Can I try that?

@prjemian
Copy link
Collaborator Author

Sure.

@prjemian prjemian changed the title update pyproject.toml packaging & create the first git tag update pyproject.toml packaging Jun 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants