forked from dbader/schedule
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
36 lines (33 loc) · 1.06 KB
/
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
29
30
31
32
33
34
35
36
import os
import sys
from distutils.core import setup
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload -r pypi')
sys.exit()
SCHEDULE_VERSION = '0.2.1'
SCHEDULE_DOWNLOAD_URL = ('https://github.com/dbader/schedule/tarball/' +
SCHEDULE_VERSION)
setup(
name='schedule',
packages=['schedule'],
version=SCHEDULE_VERSION,
description='Job scheduling for humans.',
long_description=(open('README.rst').read() + '\n\n' +
open('HISTORY.rst').read()),
license=open('LICENSE.txt').read(),
author='Daniel Bader',
author_email='mail@dbader.org',
url='https://github.com/dbader/schedule',
download_url=SCHEDULE_DOWNLOAD_URL,
keywords=[
'schedule', 'periodic', 'jobs', 'scheduling', 'clockwork',
'cron'
],
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Natural Language :: English',
],
)