Commit graph

29 commits

Author SHA1 Message Date
Kay0u
973c99c616
Add mock as a test dependency 2021-09-17 16:23:01 +02:00
Alexandre Aubin
0eaccab3b8 python3-argcomplete seems unused in practice... 2021-08-27 22:05:23 +02:00
Alexandre Aubin
ac94de6afd Attempt to simplify the moulinette_env mess 2021-08-27 22:03:17 +02:00
Alexandre Aubin
e68de91a82 Merge branch 'dev' into rework-authenticator-system 2021-08-27 18:43:57 +02:00
alexAubin
274a534beb 🎨 Format Python code with Black 2021-08-23 13:25:51 +00:00
Alexandre Aubin
67d9c9cdd1 Get rid of msettings, replace with a convenient singleton class that also wraps prompt and display 2021-07-09 21:39:07 +02:00
Alexandre Aubin
d0c569eead More cleaning up, test fixing 2021-06-13 18:51:13 +02:00
Alexandre Aubin
d3c7d12457 Update setup.py, tox.ini to python3 only 2020-12-31 19:42:12 +01:00
Kay0u
bd27799283
Merge remote-tracking branch 'origin/dev' into enh-python3 2020-12-04 22:15:36 +01:00
Kay0u
2aca0a8183
update tox config 2020-08-20 00:42:36 +02:00
Alexandre Aubin
6e5b389e71
Merge branch 'stretch-unstable' into enh-python3 2020-04-01 19:41:11 +02:00
Kay0u
eb01103e61
tests need webtest 2020-03-30 22:57:23 +02:00
Kay0u
678d673fe8
add requirements 2019-12-28 23:29:26 +08:00
Kay0u
6d255bd839
install_requires: python-ldap 2019-12-22 18:16:54 +08:00
Kay0u
641126e344
Minimal change to support python3 2019-12-20 16:09:57 +08:00
Luke Murphy
e027a188a9
Refactor exposing of global configuration
We do this to make it easier to control this value during testing. We
should not import these values at package setup time. Nor should we
import them at package load time.

This change introduces a new API for the Moulinette package. The
moulinette.env accessor. This is a breaking change. However, I've
searched around and can't seem to find any usage that relies directly on
these properties being available.

I've tried to maintain API backwards compatibility in all cases
otherwise.
2019-07-28 22:04:07 +02:00
Laurent Peuch
da00fc9eb0 [mod] don't install test module with setup.py 2019-07-28 19:46:10 +02:00
Laurent Peuch
b739f27994 [mod] move to setuptools 2019-07-28 19:43:28 +02:00
Laurent Peuch
55515cb065 [mod] add toml in install_requires of setup.py 2019-07-28 05:51:06 +02:00
Luke Murphy
9d1e2c511c
Arrange packaging, Tox and pytest configuration 2019-07-14 01:31:38 +02:00
Gabriel Corona
84c9a74d33 Protect against CSRF (#171) 2018-12-02 02:32:59 +01:00
Laurent Peuch
ffdb535918 [mod] simplifu code, remove global pkg object 2017-07-26 05:14:36 +02:00
Laurent Peuch
a5f7322e4d [mod] remove useless import 2017-07-26 03:40:42 +02:00
Jérôme Lebleu
e65755b61a [fix] Do not create directories from setup.py 2015-02-02 15:49:03 +01:00
Jérôme Lebleu
cb91f102d4 [fix] Add new 'utils' package in the setup.py 2014-10-29 18:14:20 +01:00
abeudin
eb0c0a39ad Update setup.py 2014-10-15 21:23:58 +02:00
abeudin
98dc336638 Update setup.py 2014-10-15 21:23:35 +02:00
Jérôme Lebleu
6563c693f3 [doc] Update description and requirements 2014-05-16 16:09:05 +02:00
Jérôme Lebleu
4e2f2853d2 [enh] Add a yolo setup.py 2014-05-16 15:35:16 +02:00