Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrisclark/07a6b4ef0114fdfa2ee0 to your computer and use it in GitHub Desktop.
Save chrisclark/07a6b4ef0114fdfa2ee0 to your computer and use it in GitHub Desktop.
SQL Explorer Release Checklist
  • Update HISTORY
  • Update README and check formatting with http://rst.ninjs.org/
  • Make sure any new files are included in MANIFEST.in
  • Update version number in explorer/__init__.py
  • Update any package dependencies in setup.py
  • Commit the changes:
git add .
git commit -m "Release 1.0.0"
  • Build & test the source distribution:
python setup.py sdist
mktmpenv
z explorer
cd dist
tar xzvf django-sql-explorer-x.x.tar.gz
cd django-sql-explorer-x.x/
python setup.py install
django-admin.py startproject explorertest
cd explorertest/explorertest/
emacs urls.py
>> from django.core.urls include url, include
>> url(r'^explorer/', include('explorer.urls')),
emacs settings.py
>> add 'explorer' to installed apps
cd..
python manage.py migrate
python manage.py createsuperuser
python manage.py runserver
>> log in and try it! http://127.0.0.1:8000/explorer/
deactivate
  • Release on PyPI:
python setup.py sdist upload
  • Test that it pip installs:
mktmpenv
pip install my_project
deactivate
  • Tag the last git commit with the version number:
git tag -a 0.1.1

Put the same message as in HISTORY.rst.

@deepakjain1008
Copy link

Hello, I am not able to email the csv to the entered valid email address. Please Help !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment