diff options
author | Alex Grönholm <alex.gronholm@nextday.fi> | 2013-06-29 01:33:40 +0300 |
---|---|---|
committer | Alex Grönholm <alex.gronholm@nextday.fi> | 2013-06-29 01:33:40 +0300 |
commit | 4d18c15814e189518d36fab09e56d2ae5e9e510d (patch) | |
tree | d10389d29d363640d9f7a92eceb24124b610003b /setup.py | |
parent | 8ce8b1a6ee4739d804f7526ed4dda56611203dbf (diff) | |
download | apscheduler-4d18c15814e189518d36fab09e56d2ae5e9e510d.tar.gz |
Removed trigger specific methods from Scheduler, making the API more generic
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 20 |
1 files changed, 12 insertions, 8 deletions
@@ -1,13 +1,7 @@ # coding: utf-8 import os.path -try: - from setuptools import setup - - extras = dict(zip_safe=False, test_suite='nose.collector', tests_require=['nose']) -except ImportError: - from distutils.core import setup - extras = {} +from setuptools import setup, find_packages import apscheduler @@ -37,5 +31,15 @@ setup( ], keywords='scheduling cron', license='MIT', - packages=('apscheduler', 'apscheduler.jobstores', 'apscheduler.triggers', 'apscheduler.triggers.cron'), + packages=find_packages(), + test_suite='nose.collector', + tests_require=['nose'], + zip_safe=False, + entry_points={ + 'apscheduler.triggers': [ + 'date = apscheduler.triggers.date:DateTrigger', + 'interval = apscheduler.triggers.interval:IntervalTrigger', + 'cron = apscheduler.triggers.cron:CronTrigger' + ] + } ) |