/
setup.py
41 lines (36 loc) · 1.22 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
import os
import sys
from setuptools import setup, find_packages
def read(filename):
path = os.path.join(os.path.dirname(__file__), filename)
contents = open(path).read()
return contents
# Python version specific setup
extras = {}
if sys.version_info >= (3,):
extras['test_suite'] = 'tests'
else:
extras['tests_require'] = ['unittest2']
extras['test_suite'] = 'unittest2.collector'
setup(
name = 'cmtoolkit',
version = '0.0.2',
description = 'Conformal Mapping Toolkit (ported to Python)',
long_description = read('README.rst'),
author = 'Andrew Walker',
author_email = 'walker.ab@gmail.com',
packages = find_packages(exclude=('tests',)),
url = "http://github.com/AndrewWalker/cmtoolkit",
license = "BSD",
classifiers = [
'Development Status :: 1 - Planning',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Topic :: Scientific/Engineering :: Mathematics',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
],
**extras
)