Hard coding install_requires
This commit is contained in:
Родитель
8022256fcd
Коммит
ac9b278bba
|
@ -1,8 +1,10 @@
|
|||
[metadata]
|
||||
name = Airflow
|
||||
summary = Airflow is a system to programmaticaly author, schedule and monitor data pipelines.
|
||||
description-file = README.md
|
||||
author = Maxime Beauchemin
|
||||
author-email = maximebeauchemin@gmail.com
|
||||
license = MIT
|
||||
|
||||
[files]
|
||||
packages = airflow
|
||||
|
|
19
setup.py
19
setup.py
|
@ -1,20 +1,27 @@
|
|||
import os
|
||||
from pip.req import parse_requirements
|
||||
from setuptools import setup, find_packages
|
||||
|
||||
# Reading the requirements from pip's requirements.txt
|
||||
reqs = (str(ir.req) for ir in parse_requirements('requirements.txt'))
|
||||
# To generate install_requires from requirements.txt
|
||||
# reqs = (str(ir.req) for ir in parse_requirements('requirements.txt'))
|
||||
|
||||
setup(
|
||||
name='airflow',
|
||||
version='0.11',
|
||||
version='0.1',
|
||||
packages=find_packages(),
|
||||
include_package_data=True,
|
||||
zip_safe=False,
|
||||
scripts=['airflow/bin/airflow'],
|
||||
install_requires=reqs,
|
||||
install_requires=[
|
||||
'celery', 'chartkick',
|
||||
'flask', 'flask-admin', 'flask-bootstrap', 'flask-cache',
|
||||
'flask-login', 'hive-thrift-py', 'jinja2',
|
||||
'markdown', 'mysql-python', 'pandas', 'pygments', 'pyhive',
|
||||
'python-dateutil', 'requests', 'setproctitle',
|
||||
'sphinx', 'sphinx-rtd-theme', 'Sphinx-PyPI-upload',
|
||||
'sqlalchemy', 'thrift'
|
||||
],
|
||||
author='Maxime Beauchemin',
|
||||
author_email='maximebeauchemin@gmail.com',
|
||||
url='https://github.com/mistercrunch/Airflow',
|
||||
download_url='https://github.com/mistercrunch/Airflow/tarball/0.11',
|
||||
download_url='https://github.com/mistercrunch/Airflow/tarball/0.1',
|
||||
)
|
||||
|
|
Загрузка…
Ссылка в новой задаче