-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
41 lines (35 loc) · 946 Bytes
/
Copy pathsetup.py
File metadata and controls
41 lines (35 loc) · 946 Bytes
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
37
38
39
40
41
import sys
from setuptools import setup, find_packages
try:
# Work around a traceback on Python < 2.7.4 and < 3.3.1
# http://bugs.python.org/issue15881#msg170215
import multiprocessing # unused
except ImportError:
pass
SRC_DIR = 'src'
def get_version():
sys.path[:0] = [SRC_DIR]
return __import__('easy_timer').__version__
setup(
name='easy-timer',
version=get_version(),
description='Super Simple Command-line Countdown Timer',
author='mogproject',
author_email='mogproj@gmail.com',
license='Apache 2.0 License',
url='https://github.com/mogproject/easy-timer',
install_requires=[
'six',
'mog-commons >= 0.2.0',
],
tests_require=[
],
package_dir={'': SRC_DIR},
packages=find_packages(SRC_DIR),
include_package_data=True,
test_suite='tests',
entry_points="""
[console_scripts]
easy-timer = easy_timer.easy_timer:main
""",
)