-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
52 lines (43 loc) · 1.4 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
import os
from setuptools import setup, find_packages
install_requires = [
'python-dateutil==2.8.1'
]
test_require = [
'pytest==5.3.5',
'pytest-cov==2.8.1',
]
with open(os.path.join(os.path.dirname(__file__), 'workingless', '__init__.py')) as f:
for line in f:
if line.startswith('__version__ ='):
_, _, version = line.partition('=')
VERSION = version.strip(" \n'\"")
break
with open('README.rst') as f:
readme = f.read()
setup(
name='workingless',
version=VERSION,
packages=find_packages(),
install_requires=install_requires,
author='Julián Cortés',
author_email='[email protected]',
description='Holidays and working days calculations',
long_description=readme,
keywords='holiday working-day',
url='https://github.com/pity7736/workingless',
tests_require=test_require,
python_requires='>=3.6',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Topic :: Utilities'
]
)