Skip to main content

An Scons library which wraps interface of various compilers in to one universal.

Project description

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:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nucleotide-0.1.4.8.tar.gz (30.9 kB view details)

Uploaded Source

Built Distribution

nucleotide-0.1.4.8-py3-none-any.whl (100.7 kB view details)

Uploaded Python 3

File details

Details for the file nucleotide-0.1.4.8.tar.gz.

File metadata

  • Download URL: nucleotide-0.1.4.8.tar.gz
  • Upload date:
  • Size: 30.9 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for nucleotide-0.1.4.8.tar.gz
Algorithm Hash digest
SHA256 337141b2ca0042c8482c57f32eb3bb4ed9ae9e0e550de27d1e1738b222ce037f
MD5 c5113d6a55303fc470da5212da4732f5
BLAKE2b-256 97bac85a26930c89ef70266201c51e113c35725a9444d2d1e00f0f8e3380dc4c

See more details on using hashes here.

File details

Details for the file nucleotide-0.1.4.8-py3-none-any.whl.

File metadata

  • Download URL: nucleotide-0.1.4.8-py3-none-any.whl
  • Upload date:
  • Size: 100.7 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for nucleotide-0.1.4.8-py3-none-any.whl
Algorithm Hash digest
SHA256 23883adc7fa378e9069be31e5aee28613129061063314de3038a38683421e7f2
MD5 3012f2765cd680883a9ea120bdedcb2b
BLAKE2b-256 d805645468612a7206ab14f5edca64bacd55664892ca6c9f273335c0d544bde0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page