Commit graph

14 commits

Author SHA1 Message Date
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