-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
39 lines (36 loc) · 1.13 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
38
39
"""Fast and tasty cookies handling."""
from pathlib import Path
from setuptools import setup, Extension
with Path(__file__).parent.joinpath('README.md').open(encoding='utf-8') as f:
long_description = f.read()
VERSION = (0, 3, 2)
setup(
name='biscuits',
version='.'.join(map(str, VERSION)),
description=__doc__,
long_description=long_description,
long_description_content_type='text/markdown',
author='Pyrates',
author_email='yohan.boniface@data.gouv.fr',
url='https://github.com/pyrates/biscuits',
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(
'biscuits',
['biscuits.c'],
extra_compile_args=['-O3'] # Max optimization when compiling.
)
],
provides=['biscuits'],
include_package_data=True
)