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

Use package_dir name for src/tests and .gitignore #160

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

bobleesj
Copy link
Contributor

@bobleesj bobleesj commented Sep 27, 2024

Fixes #159

Tested locally

Screenshot 2024-09-27 at 11 01 50 AM

Next, time to fix the auto_api.py in the release scripts repo as addressed by you: Billingegroup/bg-mpl-stylesheets#65 (comment)

Update: auto_api.py is fixed

@@ -16,7 +16,7 @@
"""{{ cookiecutter.project_short_description }}"""

# package version
from {{cookiecutter.package_dist_name}}.version import __version__
from {{cookiecutter.package_dir_name}}.version import __version__
Copy link
Contributor Author

Choose a reason for hiding this comment

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

package_dir_name being bg_mpl_stylesheets

@bobleesj
Copy link
Contributor Author

bobleesj commented Oct 2, 2024

@sbillinge Could you please review this as well?

Copy link
Collaborator

@sbillinge sbillinge left a comment

Choose a reason for hiding this comment

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

I thought I reviewed this already but I don't see my comments. I think this will break our diffpy packages so we don't want to merge this. We need a different way that handles both the src/diffpy/<package> and the src/<package_name> patterns somehow. The former would be packages on the diffpy org and the latter on the billingegroup org

@bobleesj bobleesj closed this Oct 2, 2024
@bobleesj bobleesj reopened this Oct 2, 2024
@bobleesj
Copy link
Contributor Author

bobleesj commented Oct 2, 2024

I will keep this PR open and make an update later we can address both src/diffpy/<package> and src/<package_name> nicely.

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.

Incorrect naming for package_dir_name in Cookiecutter template
2 participants