How to install warehouse
- Download and install ActivePython
- Buy and install the Business Edition license from account.activestate.com
- Open Command Prompt
- Type
pypm install warehouse
Dependencies
- Django
- django-braces
- django-configurations>=0.2.1
- psycopg2
- South>=0.8
- [tests] django-webtest
- [tests] pretend>=1.0
- [tests] pyquery
- [tests] pytest
- [tests] pytest-cov
- [tests] pytest-django>=2.3.0
- [tests] webtest
Warehouse is a reimplementation of the Python Package Index using modern web development frameworks and methodologies.
Setting up a development environment
Warehouse requires Redis and PostgreSQL and by default will assume they are running locally and are configured to not require passwords.
- Get a checkout of the source
- Install the requirements
- (Optional) Create a configuration file
- Start the development server
Running the tests
Warehouse uses pytest to run the test suite. You can run all the tests by using:
Unit and functional tests have been marked and you may run either of by using:
Contributing
Currently focusing on modeling and importing the data from the current PyPI database. Pull Requests that are not focused on that are likely to be declined. Once the project has matured and is more open to external contributions, it will be migrated to the Python Packaging Authority account.
- Fork the repository on GitHub.
- Make a branch off of master and commit your changes to it.
- Ensure that your name is added to the end of the CONTRIBUTORS file using the format Name <email@domain.com> (url), where the (url) portion is optional.
- Submit a Pull Request to the master branch on GitHub.