Skip to main content

Wrap all C++ compilers in to the one.

Description

An Scons library which wraps interface of various compilers in to one universal. Nucleotide allow us to make Scons files avoiding to explicitly state: platform, compiler, compiler’s version.

Quick example:

Next line set RTL:

settings.accumulate( 'RTL', { 'type': 'static', 'configuration' : 'debug' } )

and replace:

if( os.platform == 'win32' ):
    if( retrieve_compiler_name() == 'msvc' ):
        flag = 'M'
        if( 'dynamic' == retrieve_RTL_type() ):
            flag += 'D'
        if( 'static' == retrieve_RTL_type() ):
            flag += 'T'
        if( 'debug' == retrieve_configuration_type() ):
            flag += 'd'
        if( 'release' == retrieve_configuration_type() ):
            pass
        env.append( CPPFLAGS, [ flag ] )

    if( retrieve_compiler_name() == 'cygwin' ):
        env.append( LINKFLAGS, '-static' )

    if( retrieve_compiler_name() == 'mingw' ):
        env.append( LINKFLAGS, '-static' )
else:
    if( os.platform == 'linux' ):
        if( retrieve_compiler_name() == 'gcc' ):
            env.append( LINKFLAGS, '-static' )
... ... ...

Install:

Start command line and type: pip install nucleotide

Want to see more:

Metadata

Release files for nucleotide 0.1.4.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nucleotide 0.1.4.8
File Size Uploaded
nucleotide-0.1.4.8.tar.gz 30.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nucleotide 0.1.4.8
File Interpreter ABI Platform
nucleotide-0.1.4.8-py3-none-any.whl Python 3 none any Details

Total release size: 131.5 kB

Release files / nucleotide-0.1.4.8.tar.gz

Download URL nucleotide-0.1.4.8.tar.gz
Size 30.9 kB
Tags Source
SHA-256 checksum
How to use checksums
337141b2ca0042c8482c57f32eb3bb4ed9ae9e0e550de27d1e1738b222ce037f
BLAKE2b-256 checksum
How to use checksums
97bac85a26930c89ef70266201c51e113c35725a9444d2d1e00f0f8e3380dc4c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.19.5 CPython/3.6.4

Release files / nucleotide-0.1.4.8-py3-none-any.whl

Download URL nucleotide-0.1.4.8-py3-none-any.whl
Size 100.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
23883adc7fa378e9069be31e5aee28613129061063314de3038a38683421e7f2
BLAKE2b-256 checksum
How to use checksums
d805645468612a7206ab14f5edca64bacd55664892ca6c9f273335c0d544bde0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.19.5 CPython/3.6.4

Release history Release notifications | RSS feed

This release

0.1.4.8 This release

2 release files

0.1.3

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page