jakobaxelsson / sossim

A system-of-systems (SoS) simulator
MIT License
0 stars 0 forks source link

Spin off domed as a separate repository #21

Closed jakobaxelsson closed 1 year ago

jakobaxelsson commented 1 year ago

The domed package for manipulating DOM objects is totally generic, and not specific to SoSSim. In the long run, it should be spun off as its own project/repository, and eventually be published in PyPI. Once in PyPI, it can just be imported to SoSSim like any other Python package. However, as long as domed is still changing frequently, it is more practical to keep it here, to be able to test the changes without the detour to PyPI.

jakobaxelsson commented 1 year ago

An alternative approach is to spin it off now, but keep a copy of the files here. Then, the development/testing can be done in this project, by changes can be published for access by other projects.

Before publishing, some documentation on domed is needed, to go into that repo. Probably also some small example would be good to publish there. For publishing to PyPI, the flit package seems very practical.

jakobaxelsson commented 1 year ago

The repo has been created but not yet populated.

To choose between the PyPI version and the local version, a flag could be provided to build.py indicating which version to use. This will then affect if domed is put into packages or into files in the pyconfig.toml file.

jakobaxelsson commented 1 year ago

domed now exists as a separate repo, and is published on PyPI. A new flag to build.py makes it possible choose whether to use the local copy (default) or the published one.