mirror of
https://github.com/roc-lang/roc.git
synced 2025-11-25 13:36:37 +00:00
change to setuptools, remove unneeded fields
This commit is contained in:
parent
b18ea846a3
commit
ecb8cac774
1 changed files with 3 additions and 10 deletions
|
|
@ -1,19 +1,12 @@
|
|||
import os
|
||||
from distutils.core import setup, Extension
|
||||
|
||||
os.environ["LD_LIBRARY_PATH"] += ':' + os.getcwd()
|
||||
print(os.environ["LD_LIBRARY_PATH"]);
|
||||
from setuptools import setup, Extension
|
||||
|
||||
def main():
|
||||
setup(name="demo",
|
||||
version="1.0.0",
|
||||
description="Python interface for the fputs C library function",
|
||||
author="dankey",
|
||||
description="Demo testing Roc function calls from Python",
|
||||
ext_modules=[
|
||||
Extension("demo", sources=["demo.c"],
|
||||
libraries=["hello"], library_dirs=["/home/dankey/dev/roc/examples/python-interop"]
|
||||
)
|
||||
])
|
||||
libraries=["hello"], library_dirs=[os.getcwd()])])
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue