-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
36 lines (30 loc) · 983 Bytes
/
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
#!/usr/bin/env python
# Copyright (C) 2016 SignalFx, Inc. All rights reserved.
from setuptools import setup, find_packages
with open('tslib/version.py') as f:
exec(f.read())
with open('requirements.txt') as f:
requirements = [line.strip() for line in f.readlines()]
with open('README.rst') as readme:
long_description = readme.read()
setup(
name=name,
version=version,
author='Maxime Petazzoni',
author_email='[email protected]',
description=('A library for dealing with human-readable '
'time offsets and timestamps'),
license='Apache Software License v2',
long_description=long_description,
zip_safe=True,
packages=find_packages(),
install_requires=requirements,
classifiers=[
'Operating System :: OS Independent',
'Programming Language :: Python',
],
entry_points={
'console_scripts': ['ts=tslib:main'],
},
url='https://github.com/mpetazzoni/tslib',
)