forked from pylover/timesheet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
58 lines (51 loc) · 1.65 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# -*- coding: utf-8 -*-
import os
import re
from setuptools import find_packages
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
# reading cherryblog.py version without importing any modules from that package
with open(os.path.join(os.path.dirname(__file__), 'timesheet', '__init__.py')) as v_file:
package_version = re.compile(r".*__version__ = '(.*?)'", re.S).match(v_file.read()).group(1)
dependencies = [
'sqlalchemy',
'pymlconf>=0.3.10',
'appdirs>=1.3.0',
'argcomplete',
'PrettyTable'
]
def read(filename):
return open(os.path.join(os.path.dirname(__file__), filename)).read()
setup(
name="timesheet",
version=package_version,
author="Vahid Mardani",
author_email="[email protected]",
url="http://github.com/pylover/timesheet",
description="Simple timesheet tracking system",
packages=find_packages(exclude=['ez_setup']),
platforms=["any"],
long_description=read('README.rst'),
install_requires=dependencies,
dependency_links=[
'git+https://github.com/pylover/elixir.git#egg=elixir-0.8.1'
],
entry_points={
'console_scripts': [
'timesheet = timesheet:entrypoint'
]
},
classifiers=[
"Development Status :: 4 - Beta",
"License :: Freeware",
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
)