-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
19 lines (16 loc) · 744 Bytes
/
setup.py
File metadata and controls
19 lines (16 loc) · 744 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
from distutils.core import setup, Extension
def main():
extension_1 = Extension("simulator",
include_dirs=['/usr/local/include/', '/usr/include/glib-2.0', '/usr/lib/x86_64-linux-gnu/glib-2.0/include'],
library_dirs=['/usr/local/lib/'],
libraries=['libCacheSim', 'glib-2.0', 'm', 'dl'],
sources=["python_binding.c"]
)
setup(name="simulator",
version="1.0.0",
description="Python interface for Simulator C library",
author="Vishwanath Seshagiri",
author_email="vseshag@emory.edu",
ext_modules=[extension_1])
if __name__ == "__main__":
main()