-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
37 lines (35 loc) · 1.11 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
37
"""Tasty multipart form data parser built with cython."""
from pathlib import Path
from setuptools import setup, Extension
VERSION = (0, 1, 7)
setup(
name="multifruits",
version=".".join(map(str, VERSION)),
description=__doc__,
long_description=Path("README.md").read_text(),
long_description_content_type="text/markdown",
author="Pyrates",
author_email="[email protected]",
url="https://github.com/pyrates/multifruits",
classifiers=[
"License :: OSI Approved :: MIT License",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Operating System :: POSIX",
"Operating System :: MacOS :: MacOS X",
"Environment :: Web Environment",
"Development Status :: 4 - Beta",
],
platforms=["POSIX"],
license="MIT",
ext_modules=[
Extension(
"multifruits",
["multifruits.c"],
extra_compile_args=["-O3"], # Max optimization when compiling.
)
],
provides=["multifruits"],
include_package_data=True,
extras_require={"dev": ["Cython==3.0.5"]}
)