-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
34 lines (29 loc) · 1.01 KB
/
setup.py
File metadata and controls
34 lines (29 loc) · 1.01 KB
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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from os import path
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
def version():
init = path.join(path.dirname(__file__), 'officehours', '__init__.py')
line = list(filter(lambda l: l.startswith('__version__'), open(init)))[0]
return line.split('=')[-1].strip(" '\"\n")
setup(
name='officehours',
packages=['officehours'],
version=version(),
description='Utility to calculate time intervals in working hours',
author='Guillermo Guirao Aguilar',
author_email='contact@guillermoguiraoaguilar.com',
url='https://github.com/Funk66/officehours.git',
keywords=['time', 'hours', 'office', 'business', 'work'],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Natural Language :: English',
'Programming Language :: Python',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Topic :: Utilities'
]
)