-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
35 lines (32 loc) · 1.26 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
# -*- coding: utf-8 -*-
import os
import platform
import re
from codecs import open
from setuptools import setup
init_py_path = os.path.join('morris_counter', '__init__.py')
with open(init_py_path, 'r', encoding='utf8') as f:
version = re.match(r".*__version__ = '(.*?)'", f.read(), re.S).group(1)
setup(
name='morris_counter',
packages=['morris_counter'],
version=version,
license='MIT License',
platforms=['POSIX', 'Windows', 'Unix', 'MacOS'],
description='Memory-efficient probabilistic counter namely Morris Counter',
author='Yukino Ikegami',
author_email='[email protected]',
url='https://github.com/ikegami-yukino/morris_counter',
keywords=['counter', 'probabilistic data structure', 'approximate counting'],
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: Information Technology',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
long_description='%s\n\n%s' % (open('README.rst', encoding='utf8').read(),
open('CHANGES.rst', encoding='utf8').read()),
)