This repository has been archived by the owner on May 19, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
61 lines (55 loc) · 2.27 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
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#--------------------------------------------------------------------------------------------------
# Program Name: mercurial-hg
# Program Description: A wrapper for select Mercurial functionality.
#
# Filename: setup.py
# Purpose: Configuration for installation with setuptools.
#
# Copyright (C) 2016, 2017 Christopher Antila
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#--------------------------------------------------------------------------------------------------
'''
Configuration for installation with setuptools.
'''
from setuptools import find_packages, setup
import hug # for __version__
with open('README.rst', 'r') as file_pointer:
_LONG_DESCRIPTION = file_pointer.read()
setup(
name = 'mercurial-hug',
version = hug.__version__,
packages = find_packages(),
include_package_data = True,
install_requires = ['mercurial>3,<4'],
tests_require = ['pytest>2.7,<3'],
# metadata for upload to PyPI
author = 'Christopher Antila',
author_email = '[email protected]',
description = 'A wrapper for select Mercurial functionality.',
long_description = _LONG_DESCRIPTION,
license = 'AGPLv3+',
keywords = 'mercurial, vcs, version control, wrapper',
url = 'https://goldman.ncodamusic.org/diffusion/10/',
classifiers = [
'Development Status :: 3 - Alpha',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Natural Language :: English',
'Operating System :: OS Independent',
],
)