Wedge library for django application
Project description
Wedge Library
Démarrage rapide
$ pip install wedge-lib
Configuration pour certains services
MailService
TBD
GoogleMapService
TBD
YousignService
TBD
Development
Installation
$ pipenv sync --dev
Update dependencies
$ pipenv update --dev
Run test
$ pytest
Before commit
Pour éviter de faire échouer le CI, lancer la commande:
$ ./before_commit.zsh
Publier manuellement sur PyPI
Après avoir committer et pousser:
- tagguer une version dans GitHub.
- mettre à jour la version dans le fichier
setup.cfg
avec le tag créé. - créer le package
$ rm -rf build dist wedge_lib.egg-info $ WEDGELIB_VERSION=<version> python setup.py sdist bdist_wheel
- mettre à jour sur TestPypi
$ twine upload --repository testpypi dist/*
- Si tout est ok, mettre à jour sur Pypi
$ twine upload dist/*
Utiliser W en mode dev depuis un autre projet (ex: csback)
Créer un lien symbolique vers le w qui va être modifié:
rm -rf <External Libraries>/site-packages/w
ln -s <Absolute path du projet w local>/w <External Libraries>/site-packages/.
Supprimer le lien symbolique et utiliser la version officielle de w :
unlink <External Libraries>/site-packages/w
pipenv uninstall wedge-lib && pipenv install wedge-lib
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
wedge-lib-1.4.0.tar.gz
(69.9 kB
view hashes)
Built Distribution
wedge_lib-1.4.0-py3-none-any.whl
(106.4 kB
view hashes)
Close
Hashes for wedge_lib-1.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b3a7ced83d2f3273a177f8aade3cc972eb256908ae976ed5d945e08e51532903 |
|
MD5 | e0634c549d3780632f1cf734b959c891 |
|
BLAKE2b-256 | b5692d6e497d7b697fa91d1df3b03cefa4547531522d04d19e770d0bc1bd00b1 |