Permalink
Browse files

Tweaked setup.py to pull values from other sources

  • Loading branch information...
1 parent 2c955b0 commit 12aec1a18c5f4791a0dbad561bb355d923ec76d6 Stephen Johnson committed Nov 7, 2011
Showing with 24 additions and 12 deletions.
  1. +24 −12 setup.py
View
36 setup.py
@@ -1,8 +1,13 @@
-from distutils.core import setup
+try:
+ from setuptools import setup
+except ImportError:
+ from distutils.core import setup
+
+import tron
setup(
name="tron",
- version='0.2.7',
+ version=tron.__version__,
provides="tron",
author="Yelp",
author_email="yelplabs@yelp.com",
@@ -16,16 +21,23 @@
"Topic :: System :: Systems Administration",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
- "Development Status :: 3 - Alpha",
+ "Development Status :: 4 - Beta",
+ ],
+ requires = [
+ 'twisted (>=10.0.0)',
+ 'yaml (>=3.10)'
],
- requires = ['twisted (>=10.0.0)',],
packages=["tron", "tron.utils"],
- scripts=['bin/trond', 'bin/tronview', 'bin/tronctl', 'bin/tronfig'],
- data_files=[('share/doc/tron', ['docs/sample_config_large.yaml', 'docs/sample_config_small.yaml']),],
- long_description="""\
-Tron is a job scheduling, running and monitoring package designed to replace Cron for complex job running requirements.
- - Centralized configuration for running jobs across multiple machines
- - Dependencies on jobs and resources
- - Monitoring of jobs
- """
+ scripts=[
+ 'bin/trond',
+ 'bin/tronview',
+ 'bin/tronctl',
+ 'bin/tronfig'
+ ],
+ data_files=[
+ ('share/doc/tron', [
+ 'docs/sample_config_large.yaml',
+ 'docs/sample_config_small.yaml']),
+ ],
+ long_description=open('README.md').read(),
)

0 comments on commit 12aec1a

Please sign in to comment.