-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
33 lines (23 loc) · 945 Bytes
/
setup.py
File metadata and controls
33 lines (23 loc) · 945 Bytes
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
import codecs
from setuptools import setup, find_packages
def read_file(filename, cb):
with codecs.open(filename, 'r', 'utf8') as f:
return cb(f)
setup(
name='aiflow',
version='1.0.1',
packages=find_packages(),
url='https://github.com/Marcnuth/aiflow',
author='Xianxian Huang',
author_email='hxianxian@gmail.com',
license="Apache License 2.0",
description="AI Flow, an extend operators library for airflow, which helps AI engineer to write less, reuse more, integrate easily.",
long_description=read_file('README.md', lambda f: f.read()),
long_description_content_type='text/markdown',
install_requires=read_file('requirements.txt', lambda f: list(filter(bool, map(str.strip, f)))),
classifiers=[
'Topic :: Scientific/Engineering :: Artificial Intelligence',
'Topic :: Software Development :: Libraries',
'Programming Language :: Python :: 3'
]
)