-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
37 lines (32 loc) · 1.21 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
#!/usr/bin/env python
import os
import sys
from setuptools import setup, find_packages
from setuptools import Extension
os.chdir(os.path.dirname(sys.argv[0]) or ".")
setup(
name="pygohcl",
use_scm_version=True,
description="Python bindings for Hashicorp HCL2 Go library",
long_description=open("README.md", "rt").read(),
long_description_content_type="text/markdown",
url="https://github.com/Scalr/pygohcl",
author="Lee Archer",
author_email="l.archer@scalr.com",
classifiers=[
"Development Status :: 5 - Production/Stable",
"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",
"License :: OSI Approved :: MIT License",
],
packages=find_packages(),
install_requires=["cffi>=1.17.0"],
setup_requires=["cffi>=1.17.0", "setuptools-golang", "setuptools_scm"],
build_golang={"root": "github.com/Scalr/pygohcl"},
ext_modules=[Extension("pygohcl", ["pygohcl.go"])],
cffi_modules=["pygohcl/build_cffi.py:ffi",],
)