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

Provide standard installation methods. #145

Open
jameskyle opened this issue Apr 29, 2015 · 4 comments
Open

Provide standard installation methods. #145

jameskyle opened this issue Apr 29, 2015 · 4 comments

Comments

@jameskyle
Copy link

To ease deployment and development, provide standard installation and packaging such as setup.py and requirements.txt.

jameskyle added a commit to jameskyle/pox that referenced this issue Apr 29, 2015
Resolves noxrepo#145.

- Added a setup.py
- Provide an entry_point to pox.boot.boot() for the cli
- Install /var/lib/pox-<version>
- Now looks for extensions in /var/lib/pox-<version>/ext
- Also looks for extensions in $PWD/ext
- installs tools to /var/lib/pox-<version>/tools
- licenses, readme, etc. installed to /var/lib/pox-<version>/doc
@jameskyle
Copy link
Author

I've started work on this, the installation succeeds. Before I go further, it would be nice to receive feedback on if this change is desired.

The changes are found in the commit referenced above or you can find it here: jameskyle@944d91a

jameskyle added a commit to jameskyle/pox that referenced this issue Apr 29, 2015
Resolves noxrepo#145.

- Added a setup.py
- Provide an entry_point to pox.boot.boot() for the cli
- Install /var/lib/pox-<version>
- Now looks for extensions in /var/lib/pox-<version>/ext
- Also looks for extensions in $PWD/ext
- installs tools to /var/lib/pox-<version>/tools
- licenses, readme, etc. installed to /var/lib/pox-<version>/doc
- Removes the debug-config.py alias trick due to pathing issues for cli install
        - now use pox --debug
- Removes the pypy trick.
        - to use pypy, install with pypy via:
                pypy setup.py install
          This will ensure scripts have a #!/usr/bin/pypy shebang.
jameskyle added a commit to jameskyle/pox that referenced this issue Apr 29, 2015
Resolves noxrepo#145.

- Added a setup.py
- Provide an entry_point to pox.boot.boot() for the cli
- Install /var/lib/pox-<version>
- Now looks for extensions in /var/lib/pox-<version>/ext
- Also looks for extensions in $PWD/ext
- installs tools to /var/lib/pox-<version>/tools
- licenses, readme, etc. installed to /var/lib/pox-<version>/doc
- Removes the debug-config.py alias trick due to pathing issues for cli install
        - now use pox --debug
- Removes the pypy trick.
        - to use pypy, install with pypy via:
                pypy setup.py install
          This will ensure scripts have a #!/usr/bin/pypy shebang.
@MurphyMc
Copy link
Collaborator

Just a note that you might try seeing if anyone on pox-dev has thoughts on the issue too.

@jameskyle
Copy link
Author

@MurphyMc pox-dev mailing list, IRC, etc?

edit

nm, found it. Mailing list.

@jameskyle
Copy link
Author

@MurphyMc I've posed to the mailing list, but have not received a response.

Minipada pushed a commit to Minipada/pox that referenced this issue Apr 30, 2018
Resolves noxrepo#145.

- Added a setup.py
- Provide an entry_point to pox.boot.boot() for the cli
- Install /var/lib/pox-<version>
- Now looks for extensions in /var/lib/pox-<version>/ext
- Also looks for extensions in $PWD/ext
- installs tools to /var/lib/pox-<version>/tools
- licenses, readme, etc. installed to /var/lib/pox-<version>/doc
- Removes the debug-config.py alias trick due to pathing issues for cli install
        - now use pox --debug
- Removes the pypy trick.
        - to use pypy, install with pypy via:
                pypy setup.py install
          This will ensure scripts have a #!/usr/bin/pypy shebang.
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

2 participants