2014-10-12 19:44:06 +04:00
|
|
|
import os
|
|
|
|
from distutils.core import setup
|
|
|
|
from pip.req import parse_requirements
|
|
|
|
|
2014-10-13 02:31:26 +04:00
|
|
|
# Reading the requirements from pip's requirements.txt
|
|
|
|
reqs = (str(ir.req) for ir in parse_requirements('requirements.txt'))
|
|
|
|
print reqs
|
2014-10-12 19:44:06 +04:00
|
|
|
|
|
|
|
setup(
|
|
|
|
name='flux',
|
|
|
|
version='0.1',
|
2014-10-13 02:31:26 +04:00
|
|
|
packages=[
|
|
|
|
'flux',
|
|
|
|
'flux.operators',
|
|
|
|
'flux.executors',
|
|
|
|
'flux.hooks',
|
|
|
|
'flux.www',
|
|
|
|
],
|
|
|
|
scripts=['flux/bin/flux'],
|
|
|
|
install_requires=reqs,
|
2014-10-12 19:44:06 +04:00
|
|
|
author='Maxime Beauchemin',
|
|
|
|
author_email='maximebeauchemin@gmail.com',
|
2014-10-13 02:31:26 +04:00
|
|
|
url='https://github.com/mistercrunch/Flux',
|
2014-10-12 19:44:06 +04:00
|
|
|
)
|