You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Without packing DiME as a package, it is challenging to install necessary DiME dependencies for users.
DiME has the following dependencies build-essential, autotools-dev, autoconf, and libev-dev, to support the installation of OpenSSL, zlib, and Jansson.
To follow the installation style of ANDES and AMS, it can be better to pack a C project with the necessary dependencies and publish it on Conda and PyPI.
The installation of DiME is expected to be simple, like conda install dime or pip install dime.
Then starting a DiME server in the command line can be like this:
dime --path /tmp/dime --port 8818
Similarly, using DiME in Python can be like this:
importdime# NOTE: start a DiME serverserver=dime.server(path='/tmp/dime', port=8818)
# NOTE: start a DiME client and join a serverclient=dime.client(protocol, varargin)
client.join(server)
...
With this feature, we can improve the usability of DiME and integrate AGVis as a built-in visualizer for ANDES and AMS.
Without packing DiME as a package, it is challenging to install necessary DiME dependencies for users.
DiME has the following dependencies build-essential, autotools-dev, autoconf, and libev-dev, to support the installation of OpenSSL, zlib, and Jansson.
To follow the installation style of ANDES and AMS, it can be better to pack a C project with the necessary dependencies and publish it on Conda and PyPI.
The installation of DiME is expected to be simple, like
conda install dime
orpip install dime
.Then starting a DiME server in the command line can be like this:
Similarly, using DiME in Python can be like this:
With this feature, we can improve the usability of DiME and integrate AGVis as a built-in visualizer for ANDES and AMS.
Here are some possible references for packing DiME:
Conda documentation on creating and publishing packages
PyPI documentation on creating and publishing packages
Blog post on publishing C libraries on Conda and PyPI
Github repository with example setup.py files for packaging C projects
Conda-forge documentation on building and uploading packages
PyPI documentation on using twine to upload packages
See Interactive use through Python code for more discussion.
The text was updated successfully, but these errors were encountered: