-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
54 lines (48 loc) · 1.48 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
"""Setup.py."""
import datetime
from codecs import open as copen
from os import path
from setuptools import setup, find_packages
from outpak import __version__
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with copen(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
install_requires = [
"buzio",
"docopt",
"PyYAML"
]
if 'dev' in __version__:
now = datetime.datetime.now()
release_number = (now - datetime.datetime(2018, 1, 24)
).total_seconds() / 60
version = "{}{}".format(__version__, int(release_number))
else:
version = __version__
setup(
name='outpak',
version=version,
description='Install git+protocol packages in '
'requirements.txt without SSH keys',
long_description=long_description,
author='Chris Maillefaud',
include_package_data=True,
# Choose your license
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Topic :: Software Development :: User Interfaces',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6'
],
keywords='pip install git personal token',
packages=find_packages(exclude=['contrib', 'docs', 'tests']),
install_requires=install_requires,
entry_points={
'console_scripts': [
'pak=outpak.run:run'
],
},
)