-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy pathsetup.py
44 lines (41 loc) · 1.33 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
from setuptools import setup, find_packages, dist
class BinaryDistribution(dist.Distribution):
def has_ext_modules(foo):
return True
# read the contents of your README file
from os import path
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(name='prometeo-dsl',
version='0.0.11',
python_requires='>=3.8, <3.10',
description='Python-to-C transpiler and domain specific language for embedded high-performance computing',
url='http://github.com/zanellia/prometeo',
author='Andrea Zanelli',
long_description=long_description,
long_description_content_type='text/markdown',
license='LGPL',
packages = find_packages(),
entry_points={'console_scripts': ['pmt=prometeo.__main__:console_entry']},
install_requires=[
'astpretty',
'strip_hints',
'astunparse',
'numpy',
'scipy',
'multipledispatch',
'pyparsing',
'casadi==3.5.5',
'jinja2',
'numexpr'
],
package_data={'prometeo': \
['lib/prometeo/libcpmt.so', \
'lib/blasfeo/libblasfeo.so', \
'include/prometeo/*', \
'include/blasfeo/*']},
# include_package_data=True,
zip_safe=False,
distclass=BinaryDistribution
)