reactivated 0.38.2 → 0.39.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "reactivated",
3
- "version": "0.38.2",
3
+ "version": "0.39.0",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "exports": {
@@ -11,6 +11,10 @@ POSTGRESQL_LOGS="$VIRTUAL_ENV/postgresql/logs.txt"
11
11
  # $PWD returning /tmp or /private/tmp, we resolve with readlink.
12
12
  TMP_ENV="$TMPDIR/reactivated/$(readlink -f "$VIRTUAL_ENV" | md5sum | awk '{print $1}')"
13
13
 
14
+ # https://github.com/python/mypy/issues/13392
15
+ # https://setuptools.pypa.io/en/latest/userguide/development_mode.html#legacy-behavior
16
+ export SETUPTOOLS_ENABLE_FEATURES="legacy-editable"
17
+
14
18
  export PGPORT=1
15
19
  export PGDATABASE="database"
16
20
  export PGHOST=$TMP_ENV
@@ -23,8 +27,7 @@ if [ ! -d "$VIRTUAL_ENV" ]; then
23
27
  fi
24
28
 
25
29
  rm -rf "$TMP_ENV"
26
- virtualenv "$VIRTUAL_ENV"
27
- mkdir "$VIRTUAL_ENV/static"
30
+ python -m venv "$VIRTUAL_ENV"
28
31
  pip install -r requirements.txt
29
32
  fi
30
33