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 42 43 44 45 46
|
#!/usr/bin/env python
"""
setup.py file for augeas
"""
import os
from setuptools import setup, find_packages
prefix = os.environ.get("prefix", "/usr")
name = 'python-augeas'
version = '1.2.0'
setup(name=name,
version=version,
author="Harald Hoyer",
author_email="augeas-devel@redhat.com",
description="""Python bindings for Augeas""",
packages=find_packages(exclude=('test',)),
setup_requires=["cffi>=1.0.0"],
cffi_modules=["augeas/ffi.py:ffi"],
install_requires=["cffi>=1.0.0"],
zip_safe=False,
url="http://augeas.net/",
classifiers=[
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
],
command_options={
'build_sphinx': {
'project': ('setup.py', name),
'version': ('setup.py', version),
'release': ('setup.py', version),
}
},
test_suite="test.test_augeas",
)
|