-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
36 lines (32 loc) · 1.09 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
from setuptools import setup, Extension, find_packages
from Cython.Build import cythonize
with open("README.md", "r") as f:
long_description = f.read()
setup(
name="cyhilbert",
version="1.3.1",
author="Danny Whalen",
author_email="[email protected]",
url="https://github.com/invisiblefunnel/cyhilbert",
packages=find_packages(),
license="MIT",
license_files=["LICENSE"],
description="A cythonized version of that one hilbert function you keep copy-pasting.",
long_description=long_description,
long_description_content_type="text/markdown",
extras_require={"tests": ["mypy", "hilbertcurve"]},
python_requires=">=3",
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
ext_modules=cythonize(
[Extension("hilbert", ["cyhilbert/hilbert.pyx"])],
compiler_directives={
"language_level": 3,
"embedsignature": True,
},
),
package_data={"cyhilbert": ["__init__.pyi", "py.typed"]},
)