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 code base and make an installable package named optbeam #5

Open
DanielKotik opened this issue Aug 3, 2021 · 1 comment
Open
Assignees

Comments

@DanielKotik
Copy link
Owner

DanielKotik commented Aug 3, 2021

Two step process:

  1. Refactor the multiple optbeam.py files to a pure Python installable (via pip install -e .) package optbeam:

    optbeam
    ├── 2d/
    ├── 3d/
    └── __init__.py
    
  2. Enable package build process for Cython using:

    python setup.py build_ext
    python setup.py install --user

    with

    optbeam
    ├── 2d/
    ├── 3d/
    ├── __init__.pxd
    └── __init__.py
    

    see:

@DanielKotik
Copy link
Owner Author

See #12 for the first part.

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

No branches or pull requests

1 participant