![]() Upload the source distribution to PyPI: python setup.py sdist upload Register the project: python setup.py register You can register the project on PyPI for the first time by following theseĬreate a source distribution of the project: python setup.py sdist To run the tests and produce a coverage report, first make sure you haveĬoverage installed in your virtualenv ( pip install coverage) then run: nosetests -nologcapture -with-pylons=test.ini -with-coverage -cover-package=ckanext.dwgviewer -cover-inclusive -cover-erase -cover-testsĬkanext-dwgviewer should be availabe on PyPI as To run the tests, do: nosetests -nologcapture -with-pylons=test.ini To install ckanext-dwgviewer for development, activate your CKAN virtualenv and For example: # The minimum number of hours to wait before re-checking a resourceĬ_setting = some_default_value For example if you've deployed CKAN with Apache on Ubuntu: sudo service apache2 reloadĭocument any optional config settings here. ![]() Install the ckanext-dwgviewer Python package into your virtual environment: pip install ckanext-dwgviewerĪdd dwgviewer to the ugins setting in your CKANĬonfig file (by default the config file is located at For example, you might want to mention here which versions of CKAN thisĪctivate your CKAN virtual environment, for example.
0 Comments
Leave a Reply. |