Provides some usable cmake related build extensions
Project description
CMake Setuptools
A small library of setuptools
extensions to ease building python packages which have a cmake component.
Install
pip install cmake_setup
Usage
from setuptools import setup
from cmake_setup import *
setup(name='mypackage',
description='',
version='0.0.0.dev0',
ext_modules=[CMakeExtension('make_target')],
cmdclass={'build_ext': CMakeBuildExt}
)
upload
$ python setup.py sdist bdist_wheel
$ python -m twine upload dist/*
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cmake_setup-0.1.1.tar.gz
(3.7 kB
view details)
Built Distribution
File details
Details for the file cmake_setup-0.1.1.tar.gz
.
File metadata
- Download URL: cmake_setup-0.1.1.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/2.7.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | be40280764c56867bc4f761278026bbda77e83d65fccc7541b3fd5a306b7cfc7 |
|
MD5 | 4336c09874c7320d4f23681ef68a4649 |
|
BLAKE2b-256 | 5542eed908a7139e976569492a6b76277f10a184f683ec5e3d3ef8771393e2de |
File details
Details for the file cmake_setup-0.1.1-py2-none-any.whl
.
File metadata
- Download URL: cmake_setup-0.1.1-py2-none-any.whl
- Upload date:
- Size: 8.8 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/2.7.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a50cc716ecd705dcf7cb5bb4be7b53b65da2636dab9546a88e78c77007296e02 |
|
MD5 | 6fb17fcd96df94010269156ef5616719 |
|
BLAKE2b-256 | 1800be405c49bce06d5767790ada2da85e8aede3a35d5cc017fe231f978d07f1 |