d120cd7f8a
mypy's move to external types-* packages is a PITA, as it requires them to be installed in site-packages, and provides no way to specify a custom site-packages folder, necessitating extra scripts to mock the site-packages path, and copy+rename the stub packages into a separate folder.
11 lines
258 B
Python
11 lines
258 B
Python
# Copyright: Ankitects Pty Ltd and contributors
|
|
# License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|
|
|
import os
|
|
from mypy import sitepkgs
|
|
|
|
pkgs = sitepkgs.getsitepackages()
|
|
pkgs.append(os.getenv("EXTRA_SITE_PACKAGES"))
|
|
|
|
print(pkgs)
|