forked from kenmcmil/ivy
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
41 lines (36 loc) · 1.68 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
import codecs
import os
import platform
from setuptools import setup, find_packages
# Get the long description from the README file
here = os.path.abspath(os.path.dirname(__file__))
try:
with codecs.open(os.path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
except:
# This happens when running tests
long_description = None
setup(name='ms_ivy',
version='1.8.24',
description='IVy verification tool',
long_description=long_description,
url='https://github.com/microsoft/ivy',
author='IVy team',
license='MIT',
packages=find_packages(),
package_data=({'ivy':['include/*/*.ivy','include/*/*.h','include/*.h','lib/*.dll','lib/*.lib','z3/*.dll']}
if platform.system() == 'Windows' else
{'ivy':['include/*/*.ivy','include/*/*.h','include/*.h','lib/*.dylib','lib/*.a','z3/*.dylib','bin/*']}
if platform.system() == 'Darwin' else
{'ivy':['include/*/*.ivy','include/*/*.h','include/*.h','lib/*.so','lib/*.a','z3/*.so','ivy2/s3/ivyc_s3','bin/*']}),
install_requires=[
'pyparsing==2.1.4',
'ply',
'tarjan',
'pydot',
] + (['applescript'] if platform.system() == 'Darwin' else []),
entry_points = {
'console_scripts': ['ivy=ivy.ivy:main','ivy_check=ivy.ivy_check:main','ivy_to_cpp=ivy.ivy_to_cpp:main','ivy_show=ivy.ivy_show:main','ivy_ev_viewer=ivy.ivy_ev_viewer:main','ivyc=ivy.ivy_to_cpp:ivyc','ivy_to_md=ivy.ivy_to_md:main','ivy_libs=ivy.ivy_libs:main','ivy_shell=ivy.ivy_shell:main','ivy_launch=ivy.ivy_launch:main'],
},
zip_safe=False)