From 13a08d11aa7a732a1cba1bd0ffa598f459d492b5 Mon Sep 17 00:00:00 2001
From: Blaise Li <blaise.li__git@nsup.org>
Date: Mon, 16 Sep 2019 14:23:34 +0200
Subject: [PATCH] Trying another way to resolve build-time dep.

---
 install.sh       | 2 +-
 pyproject.toml   | 3 +++
 requirements.txt | 2 --
 3 files changed, 4 insertions(+), 3 deletions(-)
 create mode 100644 pyproject.toml
 delete mode 100644 requirements.txt

diff --git a/install.sh b/install.sh
index f24e57c..7b1a9d7 100755
--- a/install.sh
+++ b/install.sh
@@ -1,5 +1,5 @@
 #!/bin/sh
-/usr/bin/env python3 setup.py build_ext
+# /usr/bin/env python3 setup.py build_ext
 # .egg-link does not work with PYTHONPATH ?
 /usr/bin/env python3 -m pip install -e .
 /usr/bin/env python3 -m pip install --no-deps --ignore-installed .
diff --git a/pyproject.toml b/pyproject.toml
new file mode 100644
index 0000000..c07b1d3
--- /dev/null
+++ b/pyproject.toml
@@ -0,0 +1,3 @@
+[build-system]
+requires = ["setuptools", "Cython"]
+build-backend = "setuptools.build_meta"
diff --git a/requirements.txt b/requirements.txt
deleted file mode 100644
index 1830f13..0000000
--- a/requirements.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-Cython
-cytoolz
-- 
GitLab