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

Now the assets are correcly installed along with the package #3

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

Conversation

Iximiel
Copy link
Member

@Iximiel Iximiel commented Dec 13, 2024

With pip install . I get the check_inputs directory installed in the environment, but with python -m build . the created wheel contains only PlumedToHTML with the assets :)

So I think this is a good improvement

@Iximiel
Copy link
Member Author

Iximiel commented Dec 13, 2024

With pip install . I get the check_inputs directory installed in the environment

A solution could be to be more canonical and change from the bare PlumedToHTML dir in the wild

.
├── check_inputs
│   ├── create_inputs.py
│   └── make_inputs.sh
├── LICENSE
├── PlumedToHTML
│   ├── assets
│   │   └── header.html
│   ├── __init__.py
│   ├── PlumedFormatter.py
│   ├── PlumedLexer.py
│   ├── PlumedToHTML.py
│   └── tests
│       ├── test_code.py
│       ├── test_formatter.py
│       ├── test_lexer.py
│       ├── test_markdown.py
│       └── test_mermaid.py
├── README.md
├── setup.py
├── tdata
│   ├── Distance2.cpp
│   ├── formattests.json
│   ├── groups.dat
│   ├── helix.pdb
│   ├── lexertests.json
│   ├── other.0.inc
│   ├── other.1.inc
│   ├── recursive.inc
│   ├── solution.dat
│   ├── testInclude.inc
│   └── tests.json
└── tox.ini

to protect the PlumedToHTML dir within src like this:

.
├── check_inputs
│   ├── create_inputs.py
│   └── make_inputs.sh
├── LICENSE
├── README.md
├── setup.py
├── src
│   └── PlumedToHTML
│       ├── assets
│       │   └── header.html
│       ├── __init__.py
│       ├── PlumedFormatter.py
│       ├── PlumedLexer.py
│       ├── PlumedToHTML.py
│       └── tests
│           ├── test_code.py
│           ├── test_formatter.py
│           ├── test_lexer.py
│           ├── test_markdown.py
│           └── test_mermaid.py
├── tdata
│   ├── Distance2.cpp
│   ├── formattests.json
│   ├── groups.dat
│   ├── helix.pdb
│   ├── lexertests.json
│   ├── other.0.inc
│   ├── other.1.inc
│   ├── recursive.inc
│   ├── solution.dat
│   ├── testInclude.inc
│   └── tests.json
└── tox.ini

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.

1 participant