Skip to content

Commit

Permalink
fix: 🐛 generate loader.so
Browse files Browse the repository at this point in the history
`from setuptools import setup` must be before Extension
  • Loading branch information
ZhaoQi99 committed Nov 25, 2021
1 parent 9c831e2 commit c5fc34c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyencrypt/setup.py
Original file line number Diff line number Diff line change
@@ -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()), )

0 comments on commit c5fc34c

Please sign in to comment.