Make vendored symposion into an installable Python package

This allows us to install with `pip install "-e vendor/symposion"` similar to
the other vendored packages. There's no good reason for this to be different to
the others and depend on PYTHONPATH hacking.

Re-add
This commit is contained in:
Ben Sturmfels 2023-04-24 15:40:44 +10:00
parent 8020737d7a
commit 34509d23eb
Signed by: bsturmfels
GPG key ID: 023C05E2C9C068F0
147 changed files with 10 additions and 1 deletions

View file

@ -16,7 +16,6 @@ PROJECT_ROOT = os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir
PACKAGE_ROOT = os.path.abspath(os.path.dirname(__file__))
DJANGO_ROOT = os.path.abspath(os.path.dirname(django.__file__))
BASE_DIR = PACKAGE_ROOT
sys.path.append(os.path.join(PROJECT_ROOT, 'vendor'))
### USER SETTINGS

3
vendor/symposion/pyproject.toml vendored Normal file
View file

@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools>=42"]
build-backend = "setuptools.build_meta"

3
vendor/symposion/setup.cfg vendored Normal file
View file

@ -0,0 +1,3 @@
[metadata]
name = symposion
version = attr: symposion.__version__

3
vendor/symposion/setup.py vendored Normal file
View file

@ -0,0 +1,3 @@
import setuptools
setuptools.setup()

Some files were not shown because too many files have changed in this diff Show more