-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
36 lines (32 loc) · 1.03 KB
/
setup.py
File metadata and controls
36 lines (32 loc) · 1.03 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
35
36
import os.path
import re
from setuptools import setup
(__version__, ) = re.findall("__version__.*\s*=\s*[']([^']+)[']",
open('toms/__init__.py').read())
HERE = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(HERE, "README.md")) as fid:
README = fid.read()
setup(
name="toms",
version=__version__,
description="Convert date to milliseconds and back",
long_description=README,
long_description_content_type="text/markdown",
url="https://github.com/d10xa/toms",
author="d10xa",
author_email="d10xa@mail.ru",
license="MIT",
classifiers=[
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
],
packages=["toms"],
include_package_data=True,
install_requires=[
"python-dateutil>=2.7.1"
],
entry_points={"console_scripts": ["toms=toms.__main__:main"]},
)