-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
63 lines (56 loc) · 1.87 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
55
56
57
58
59
60
61
62
63
import os
import imp
from setuptools import setup, find_packages
__author__ = "Stephen LaPorte and Mahmoud Hashemi"
__contact__ = "[email protected]"
__license__ = 'GPLv3'
__url__ = 'https://github.com/hatnote/pacetrack'
CUR_PATH = os.path.abspath(os.path.dirname(__file__))
_version_mod_path = os.path.join(CUR_PATH, 'pacetrack', '_version.py')
_version_mod = imp.load_source('_version', _version_mod_path)
__version__ = _version_mod.__version__
setup(
name="pacetrack",
description="Track and coordinate WikiProject improvement campaign progress.",
author=__author__,
author_email=__contact__,
url=__url__,
license=__license__,
platforms='any',
version=__version__,
long_description=__doc__,
packages=find_packages(),
include_package_data=True,
zip_safe=False,
entry_points={'console_scripts': ['pt = pacetrack.__main__:main',
'ptrack = pacetrack.__main__:main',
'pacetrack = pacetrack.__main__:main']},
install_requires=['ashes',
'attrs',
'boltons',
'face',
'glom',
'gevent==1.2.2',
'hyperlink',
'lithoxyl',
'PyNaCl',
'requests',
'ruamel.yaml',
'schema',
'tqdm']
)
"""
Release process:
* tox # TODO
* git commit (if applicable)
* Remove dev suffix from pacetrack/_version.py version
* git commit -a -m "bump version for vX.Y.Z release"
* python setup.py sdist bdist_wheel upload
* git tag -a vX.Y.Z -m "brief summary"
* write CHANGELOG
* git commit
* bump pacetrack/_version.py version onto n+1 dev
* git commit
* git push
Versions are of the format YY.MINOR.MICRO, see calver.org for more details.
"""