-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
41 lines (36 loc) · 1.25 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
40
41
#!/usr/bin/env python
import os
from setuptools import setup, find_packages
from setuptools.dist import Distribution
class BinaryDistribution(Distribution):
def is_pure(self):
return False
description = 'Python bindings for libspecinfra.'
setup_options = dict(
name='libspecinfra-python',
version='0.0.1',
description=description,
long_description=description,
author='Masashi Terui',
author_email='[email protected]',
url='https://github.com/libspecinfra/libspecinfra-python',
packages=find_packages(exclude=['tests*', 'specinfra*']),
package_data={'libspecinfra': ['libspecinfra/libspecinfra.so']},
include_package_data=True,
distclass=BinaryDistribution,
# rust extensions are not zip safe, just like C-extensions.
zip_safe=False,
license='MIT License',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Environment :: MacOS X',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Rust',
],
keywords='libspecinfra specinfra',
)
setup(**setup_options)