-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathsetup.py
executable file
·46 lines (36 loc) · 1.4 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import re
from setuptools import setup
project_dir = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(project_dir, 'cpmoptimize', '__init__.py')) as f:
version = re.search(r"__version__ = '(.+)'", f.read()).groups()[0]
with open(os.path.join(project_dir, 'README.rst')) as f:
long_description = f.read()
setup(
name="cpmoptimize",
version=version,
packages=['cpmoptimize'],
install_requires=['byteplay>=0.2'],
author="Alexander Borzunov",
author_email="[email protected]",
description='A decorator for automatic algorithms optimization '
'via fast matrix exponentiation',
long_description=long_description,
url="http://github.com/borzunov/cpmoptimize",
classifiers=[
'Development Status :: 4 - Beta',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Topic :: Software Development :: Libraries :: Python Modules',
],
license="MIT",
keywords=['optimize', 'matrix', 'bytecode'],
)