Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

Test about using cython #327

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion gensetup.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,14 @@ def load_version():
if argv[1] == '--setup.py':
with open('setup.py', 'wt') as f:
print(
f'''#!/usr/bin/python3
f'''#!/usr/bin/env python3
# This file is auto generated. Do not modify
from setuptools import setup

from Cython.Build import cythonize

setup(
ext_modules = cythonize(["typedload/dataloader.py", "typedload/typechecks.py", "typedload/exceptions.py"]),
name='typedload',
version={load_version()!r},
description='{DESCRIPTION}',
Expand Down
Loading