Skip to content

Commit 3808299

Browse files
committed
added setup.py etc
1 parent 1039694 commit 3808299

File tree

4 files changed

+60
-1
lines changed

4 files changed

+60
-1
lines changed

LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2016, Baran Bartu Demirci
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in
13+
all copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
THE SOFTWARE.

MANIFEST.in

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
include README.md
2+
include LICENSE

README.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
11
# pyscheduler
2+
Task Scheduler
23

3-
under development
4+
Create scheduled tasks at runtime easily.
5+
6+
# Installation
7+
8+
```bash
9+
pip install pyscheduler
10+
```

setup.py

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
#! /usr/bin/env python
2+
# -*- coding: utf-8 -*-
3+
4+
import os
5+
from setuptools import setup, find_packages
6+
7+
README = open(os.path.join(os.path.dirname(__file__), 'README.md')).read()
8+
9+
# allow setup.py to be run from any path
10+
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
11+
12+
version = '0.0.1'
13+
14+
setup(
15+
name='pyscheduler',
16+
version=version,
17+
description='Create scheduled tasks at runtime easily',
18+
long_description=README,
19+
url='https://github.com/baranbartu/pyscheduler',
20+
download_url='https://github.com/baranbartu/pyscheduler/tarball/%s' % version,
21+
author='Baran Bartu Demirci',
22+
author_email='[email protected]',
23+
license='MIT',
24+
keywords='scheduler scheduled tasks crontab cron cronjob celery',
25+
packages=find_packages(),
26+
install_requires=[
27+
'crontab==0.21.3',
28+
]
29+
)

0 commit comments

Comments
 (0)