From c5fc34c6cda6f42bec390f67f37b2d0ca76d7ab2 Mon Sep 17 00:00:00 2001 From: Qi Zhao Date: Thu, 25 Nov 2021 22:07:36 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20generate=20loader.so?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `from setuptools import setup` must be before Extension --- pyencrypt/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyencrypt/setup.py b/pyencrypt/setup.py index 6b80895..32bfcb1 100644 --- a/pyencrypt/setup.py +++ b/pyencrypt/setup.py @@ -1,8 +1,8 @@ import os from pathlib import Path -from Cython.Build import cythonize from setuptools import setup +from Cython.Build import cythonize path = Path(os.getcwd()) / 'encrypted' / 'loader.py' setup(ext_modules=cythonize(path.as_posix()), )