IDAES / idaes-ui

User interfaces for IDAES
Other
1 stars 5 forks source link

Make UI installable #22

Closed CopyDemon closed 1 year ago

CopyDemon commented 1 year ago

Now IDAES-UI is a package on the PyPI test repo, and user can install it directly by pip install. package name is idaes-ui-test

this package contain some temporary names:

  1. ideas-ui-test :package name
  2. idaes_ui :import package -> from idaes_ui.fv import ...
  3. idaes-ui-example :run ui example in browser

user can install this package by: pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple idaes-ui-test

run example: idaes-ui-example

when use in script from idaes_ui.fv import visualiz visualiz(args)

Now has a bug, some user may need to install ipopt to avoid error from Pyomo

Also, the documentation is updated


Legal Acknowledgement

By contributing to this software project, I agree to the following terms and conditions for my contribution:

  1. I agree my contributions are submitted under the license terms described in the LICENSE.txt file at the top level of this directory.
  2. I represent I am authorized to make the contributions and grant the license. If my employer has rights to intellectual property that includes these contributions, I represent that I have received permission to make contributions and grant the required license on behalf of that employer.
dangunter commented 1 year ago

I don't think we should commit to the repo the test pypi version(s). You can definitely do that locally.

On Wed, Jun 14, 2023 at 9:34 AM Sheng Pang @.***> wrote:

@.**** commented on this pull request.

In pyproject.toml https://github.com/IDAES/idaes-ui/pull/22#discussion_r1229895403:

 description = "IDAES Process Systems Engineering User Interface"

readme = "README.md"

  • version = "0.0.1"
  • version = "0.0.14"

Can I make 2 versions and use them on different PyPI, this may be easier for future dev, when testing on PyPI test. When ready to public to PyPI can use the second version, and when testing just use the first one.

For PyPI test repo

version = "0.0.14"

For PyPI#version = "1.0.0"

— Reply to this email directly, view it on GitHub https://github.com/IDAES/idaes-ui/pull/22#discussion_r1229895403, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADGYO224ER6JEF52IGTMVTXLHR2PANCNFSM6AAAAAAZEIK5TI . You are receiving this because you commented.Message ID: @.***>