generated from outerbounds/metaflow-card-template
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
28 lines (24 loc) · 918 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 find_namespace_packages, setup
from pathlib import Path
from configparser import ConfigParser
config = ConfigParser(delimiters=['='])
config.read('settings.ini')
cfg = config['DEFAULT']
dev_requirements = (cfg.get('dev_requirements') or '').split()
requirements = (cfg.get('requirements') or '').split()
long_description = open('README.md').read()
setup(
name="metaflow-card-notebook",
version=cfg['version'],
description="Render Jupyter Notebooks in Metaflow Cards",
long_description=long_description,
long_description_content_type="text/markdown",
author="Hamel Husain",
author_email="hamel@outerbounds.com",
license="Apache Software License 2.0",
packages=find_namespace_packages(include=['metaflow_extensions.*']),
include_package_data=True,
zip_safe=False,
install_requires=requirements,
extras_require={ 'dev': dev_requirements },
)