Added PyScModule to forward simulation phase callbacks
This commit is contained in:
@@ -1,15 +1,26 @@
|
||||
from setuptools import setup
|
||||
|
||||
from setuptools import setup, Extension
|
||||
import os
|
||||
|
||||
def readme():
|
||||
with open('README.md') as f:
|
||||
return f.read()
|
||||
|
||||
sysc_home = os.environ['SYSTEMC_HOME']
|
||||
|
||||
pysyscsc = Extension('pysyscsc',
|
||||
define_macros = [('MAJOR_VERSION', '1'), ('MINOR_VERSION', '0')],
|
||||
extra_compile_args = ['-std=c++11'],
|
||||
include_dirs = [sysc_home+'/include'],
|
||||
libraries = ['systemc'],
|
||||
library_dirs = [sysc_home+'/lib'],
|
||||
sources = ['PyScModule.cpp'])
|
||||
|
||||
|
||||
setup(name='PySysC',
|
||||
version='0.1',
|
||||
description='Python SystemC binding',
|
||||
long_description=readme(),
|
||||
ext_modules = [pysyscsc],
|
||||
classifiers=[
|
||||
'Development Status :: 3 - Alpha',
|
||||
'License :: OSI Approved :: Apache Software License',
|
||||
@@ -22,11 +33,12 @@ setup(name='PySysC',
|
||||
author_email='info@minres.com',
|
||||
license='Apache-2.0',
|
||||
packages=['pysysc'],
|
||||
data_files=[('.',['PyScModule.h'])],
|
||||
include_package_data=True,
|
||||
install_requires=[
|
||||
'cppyy',
|
||||
'conan'
|
||||
],
|
||||
include_package_data=True,
|
||||
test_suite='nose.collector',
|
||||
tests_require=['nose'],
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user