-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathsetup.py
More file actions
40 lines (36 loc) · 1.29 KB
/
setup.py
File metadata and controls
40 lines (36 loc) · 1.29 KB
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
40
#!/usr/bin/env python
from setuptools import setup, find_packages, Extension
VERSION = (0, 4, 0)
setup(
name='pyfarmhash',
version=".".join([str(x) for x in VERSION]),
keywords=('farmhash', 'google'),
description="Google FarmHash Bindings for Python",
author='Veelion Chong',
author_email='veelion@gmail.com',
url='https://github.com/veelion/python-farmhash',
packages=find_packages('src'),
package_dir={'': 'src'},
ext_modules=[
Extension('farmhash', [
'src/farmhash.cc',
'src/python-farmhash.cc'
], extra_compile_args=["-O4"])
],
classifiers=[
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License',
'Intended Audience :: Developers',
'Programming Language :: C',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
],
)