Skip to content

Commit

Permalink
test os dependent path
Browse files Browse the repository at this point in the history
  • Loading branch information
deng113jie committed Sep 15, 2021
1 parent df1cdff commit 53c3e8e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
from setuptools import setup
from Cython.Build import cythonize
import os

setup(
if os.name == 'nt':
srcpath= 'src\\helloworld.pyx'
else:
srcpath= 'src/helloworld.pyx'

name="cytest",
version="0.0.1",
ext_modules = cythonize("C:\\Users\\jie\\Documents\\ExeTera-master\\cytest\\src\\helloworld.pyx")
ext_modules = cythonize(srcpath)
)

0 comments on commit 53c3e8e

Please sign in to comment.