A small reusable package that adds a People app to a project
Project description
Giant People
A re-usable package which can be used in any project that requires a generic People
app.
This will include the basic formatting and functionality such as model creation via the admin.
Installation
To install with the package manager, run:
$ poetry add giant-people
You should then add "people", "easy_thumbnails" and "filer"
to the INSTALLED_APPS
in your settings file.
The detail pages in this app use plugins which are not contained within this app. It is recommended that you include a set of plugins in your project, or use the giant-plugins
app.
In order to run django-admin
commands you will need to set the DJANGO_SETTINGS_MODULE
by running
$ export DJANGO_SETTINGS_MODULE=settings
Preparing for release
In order to prep the package for a new release on TestPyPi and PyPi there is one key thing that you need to do. You need to update the version number in the pyproject.toml
.
This is so that the package can be published without running into version number conflicts. The version numbering must also follow the Semantic Version rules which can be found here https://semver.org/.
Publishing
Publishing a package with poetry is incredibly easy. Once you have checked that the version number has been updated (not the same as a previous version) then you only need to run two commands.
$ poetry build
will package the project up for you into a way that can be published.
$ poetry publish
will publish the package to PyPi. You will need to enter the username and password for the account which can be found in the company password manager
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for giant_people-0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d1f5e8322050bd3d0b6d395b358ffdbb7ee827e68626decd8b5fd961ec0aaa1 |
|
MD5 | 5eec4d8ca4ee9e2a011c385e7a583339 |
|
BLAKE2b-256 | 64e8ef3c34260a5bfb37780761045961fa9d7ef4c72bf1b869af400001ed16f4 |