-
Notifications
You must be signed in to change notification settings - Fork 19
/
setup.py
40 lines (36 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
from setuptools import setup
### Add find_packages function, see
# https://wiki.python.org/moin/Distutils/Cookbook/AutoPackageDiscovery
import os
def is_package(path):
return (
os.path.isdir(path) and
os.path.isfile(os.path.join(path, '__init__.py'))
)
def find_packages(path=".", base="", exclude=None):
"""Find all packages in path"""
if not exclude:
exclude = []
packages = {}
for item in os.listdir(path):
dir = os.path.join(path, item)
if is_package(dir) and dir not in exclude:
if base:
module_name = "{base}.{item}".format(base=base,item=item)
else:
module_name = item
packages[module_name] = dir
packages.update(find_packages(dir, module_name))
return packages
###
setup(name='raco',
version='1.3.7',
description='Relational Algebra COmpiler',
author='Bill Howe, Andrew Whitaker, Daniel Halperin',
author_email='raco@cs.washington.edu',
url='https://github.com/uwescience/raco',
packages=find_packages(exclude=['clang']),
package_data={'': ['c_templates/*.template','grappa_templates/*.template']},
install_requires=['networkx==1.11', 'ply', 'pyparsing', 'SQLAlchemy', 'jinja2', 'requests', 'requests_toolbelt' ],
scripts=['scripts/myrial']
)