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

maybe add command line tools and/or installer for easier use #287

Closed
bstabler opened this issue Dec 23, 2019 · 3 comments
Closed

maybe add command line tools and/or installer for easier use #287

bstabler opened this issue Dec 23, 2019 · 3 comments

Comments

@bstabler
Copy link
Contributor

setuptools/pip can install simple python-based command line tools with your package. The open matrix project uses a command line validator tool to validate files against the standard.

We should think about maybe creating one of these for running activitysim. We could roll the existing simulation.py script in the example folder into a tool that you can call to run the model.

asim_run_model --config xxxx --data xxxx --output xxxx

We could update Travis to test this as well. We could also create a tool to copy the example setup (from the pip install location) to a user controlled location like the working directory, which would help with getting/distributing the example. Currently users either get the example data from the pip install location or clone the GitHub repo.

@bstabler bstabler changed the title maybe add command line tools for easier use maybe add command line tools and/or installer for easier use Jan 24, 2020
@bstabler
Copy link
Contributor Author

Related, maybe we want to build something like an anaconda constructor for easier distribution/installation.

@bstabler
Copy link
Contributor Author

We could also create a command line tool to replace the process of cloning the repo from GitHub in order to get the example.

asim_create_example  --destination_folder

@bstabler
Copy link
Contributor Author

#325

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