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

Refactor package structure #7

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

adriendelsalle
Copy link
Contributor

Description

Refactor package structure:

  • create libyams to split the header-only library from the binary targets
    • keep yams namespace and include subdir for C++ headers
  • add a Python package structure to install pyams using Python packaging tools instead of CMake (will require to pip install (-e) ./python to use the library)
    • the shared lib generated using pybind11 is installed in the pyams source dir
  • make the CLI, C++ tests and Python bindings rely on libyams
    • add CMake config files for downstream packages
    • remove unecessary include dirs or target link libs
    • use pre-installed libyams if lib is not built
  • update the conda recipe
  • add README for build instructions, including flags
  • add missing deps in environment-dev.yml file
  • add several file extensions to .gitignore

@ssg-aero
Copy link
Owner

ssg-aero commented Jul 4, 2022

Thanks for this work, as I'm currently working on the solver it might be tough to integrate your work just now.

Moreover I'm planning to add new module to this project so please before moving files maybe we can talk about it before, it will be less frustrating for both of us :)

@adriendelsalle
Copy link
Contributor Author

no worries, I would be happy to chat about that!

@adriendelsalle
Copy link
Contributor Author

I just rebased on master

create libyams split the header-only library from the binary targets
add a python package structure to install pyams
make the CLI, C++ tests and python bindings rely on libyams
update the conda recipe
add cmake config files for downstream packages
add README for build instructions
add missing deps in env-dev yaml file
use pre-installed libyams if lib is not built
replace incl dirs and links libs with deps on gbs targets
@adriendelsalle adriendelsalle marked this pull request as draft July 6, 2022 10:30
@adriendelsalle
Copy link
Contributor Author

I'm converting it to draft PR since last commit requires gbs to expose cmake config for core and extension libs to work properly

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