Open chrisdembia opened 10 years ago
Reminder to self: https://github.com/chrisdembia/opensim-core/tree/unix-install-2
next branches to merge: unix-dont-copy-simbody and unix-install-2
@chrisdembia just came across this: http://click.pocoo.org
I think it is setup to do command line interfaces with lots of nested subcommands. Same guy that wrote Flask wrote this, so it is likely good. There example implements the git subcommands:
http://click.pocoo.org/3/complex/#complex-guide
Maybe you can use it for Opensim's command line access (although you'd have to provide Python then).
Awesome!! Thanks for sharing that. That's exactly what I was thinking about. Having to use python might be a serious limitation though.
I'm not sure how Python is a limitation :)
You can embed a Python interpreter with the open sim app on Windows and just use the system python on other OS's.
Rename the executables so their names are distinguishable. Right now, e.g., linux already has an id >executable, and our id would overwrite this. I suggest a single executable that takes a tool name as an >argument, or renaming the executables as opensim-ik, and creating an opensim executable that calls >opensim-ik when opensim ik is called (this is how command-line git works I think).
I just ran into this issue as well. Was struggling installing some python packages. The error isn't at first obvious because the exceptions are on tex-common/tex-live (font packages).
I fixed by deleting the opensim id since I don't use it from command line
It sounds like we'll move toward opensim ik
, opensim gui
, etc.
It sounds like we'll move toward opensim ik, opensim gui, etc.
I hope this won't conflict with OpenSimulator! I see they use OpenSim.exe
and OpenSim.ini
but I didn't see a command line opensim
.
I see they use OpenSim.exe and OpenSim.ini but I didn't see a command line opensim.
OpenSim.exe Command Line Options
Oops! That's not good. I doubt we'll run into many users with both OpenSim and OpenSimulator (since they are totally unrelated) so we can probably just ignore that, but it is something to worry about. We could use osim
instead, but opensim
seems nicer.
Thanks for those good finds. I'm okay with osim
, though I agree that opensim
is nicer. I think I'm okay with using opensim
so long as popular package managers (apt-get, homebrew) don't install an OpenSimulator opensim
or OpenSim
executable into /usr/
or /usr/bin/
. My end goal with the opensim
umbrella executable is to support getting opensim into apt-get.
OpenSimulator is not in the apt-get repositories nor in homebrew.
OpenSimulator is not in the apt-get repositories nor in homebrew.
We should get there first!
So, what does it take to get in? On Oct 8, 2015 4:00 PM, "Michael Sherman" notifications@github.com wrote:
OpenSimulator is not in the apt-get repositories nor in homebrew.
We should get there first!
— Reply to this email directly or view it on GitHub https://github.com/opensim-org/opensim-core/issues/195#issuecomment-146711350 .
Most of the items are at the top. The two other items I'd add are:
Homebrew would be really easy though.
@aymanhab thoughts on the status of this one?
The number of unix users is increasing. The organization of our installation currently does not permit one to safely install into /usr/ or /usr/local. The following changes should occur:
id
executable, and ourid
would overwrite this. I suggest a single executable that takes a tool name as an argument, or renaming the executables asopensim-ik
, and creating anopensim
executable that callsopensim-ik
whenopensim ik
is called (this is how command-line git works I think).