-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathsetup.py
46 lines (40 loc) · 1.15 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
45
46
import glob
import os
from setuptools import setup
import flo
# get all of the scripts
scripts = glob.glob("bin/*")
# read in the description from README
with open("README.md") as stream:
long_description = stream.read()
github_url='https://github.com/deanmalmgren/flo'
# read in the dependencies from the virtualenv requirements file
dependencies = []
filename = "REQUIREMENTS"
with open(filename, 'r') as stream:
for line in stream:
package = line.strip().split('#')[0]
if package:
dependencies.append(package)
setup(
name=flo.__name__,
version=flo.VERSION,
description="enable rapid iteration and development of data workflows",
long_description=long_description,
url=github_url,
download_url="%s/archives/master" % github_url,
author='Dean Malmgren',
author_email='[email protected]',
license='MIT',
scripts=scripts,
packages=[
'flo',
'flo.commands',
'flo.resources',
'flo.tasks',
'flo.templates',
],
package_data={"flo.templates": ["*.css", "*.js", "*.html"]},
install_requires=dependencies,
zip_safe=False,
)