How to use the pcpp.version function in pcpp

To help you get started, we’ve selected a few pcpp examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ned14 / pcpp / setup.py View on Github external
#!/usr/bin/env python

from setuptools import setup, find_packages
import os, pcpp

here = os.path.abspath(os.path.dirname(__file__))

# Get the long description from the README file
with open(os.path.join(here, 'README.rst')) as f:
    long_description = f.read()
    
setup(
    name='pcpp',
    version=pcpp.version,
    description='A C99 preprocessor written in pure Python',
    long_description=long_description,
    author='Niall Douglas and David Beazley',
    url='http://pypi.python.org/pypi/pcpp',
    packages=['pcpp', 'pcpp/ply/ply'],
    package_data={'pcpp' : ['../LICENSE.txt']},
    test_suite='tests',
    entry_points={
        'console_scripts': [ 'pcpp=pcpp:main' ]
    },
    options={'bdist_wheel':{'universal':True}},
    license='BSD',
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Intended Audience :: Developers',
        'Topic :: Software Development :: Build Tools',