forked from cvondrick/turkic
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
28 lines (25 loc) · 915 Bytes
/
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
from setuptools import setup
from setuptools import Extension
import os
def getfiles(root):
for dirpath, _, filenames in os.walk(root):
for filename in filenames:
yield os.path.relpath(os.path.join(dirpath, filename))
datafiles = list(getfiles("turkic/skeleton"))
datafiles += list(getfiles("turkic/public"))
datafiles = ["/".join(x.split("/")[1:]) for x in datafiles]
setup(
name = "turkic",
author = "Carl Vondrick",
author_email = "cvondric@ics.uci.edu",
description = "A framework for Mechanical Turk HITs",
license = "MIT",
version = "0.2.5",
classifiers = ['Development Status :: 1 - Planning',
'Intended Audience :: Developers'],
packages = ["turkic"],
scripts = ['scripts/turkic'],
package_dir = {"turkic": "turkic"},
package_data = {"": datafiles},
install_requires = ["setuptools", "SQLAlchemy", "wsgilog"]
)