-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
54 lines (47 loc) · 1.37 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
# -*- coding: utf-8 -*-
"""Python packaging."""
import os
from setuptools import setup
here = os.path.abspath(os.path.dirname(__file__))
NAME = 'aioraft'
DESCRIPTION = """Asyncio Raft algorithm based on aiohttp"""
try:
README = open(os.path.join(here, 'README.md')).read()
except:
README = ""
# VERSION = open(os.path.join(here, 'VERSION')).read().strip()
VERSION = '0.1'
AUTHOR = u'lisael'
EMAIL = u'[email protected]'
LICENSE = u'AGPL'
URL = u'https://github.com/lisael/aioraft'
CLASSIFIERS = ['Development Status :: 3 - Alpha',
'Programming Language :: Python :: 3.4',
'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)']
KEYWORDS = ['asyncio', 'raft']
PACKAGES = [
"aioraft",
]
NAMESPACE_PACKAGES = []
REQUIREMENTS = [
]
SCRIPTS = [
]
if __name__ == '__main__': # Don't run setup() when we import this module.
setup(name=NAME,
version=VERSION,
description=DESCRIPTION,
long_description=README,
classifiers=CLASSIFIERS,
keywords=' '.join(KEYWORDS),
author=AUTHOR,
author_email=EMAIL,
url=URL,
license=LICENSE,
packages=PACKAGES,
namespace_packages=NAMESPACE_PACKAGES,
include_package_data=True,
zip_safe=False,
scripts=SCRIPTS,
install_requires=REQUIREMENTS,
)