-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
41 lines (34 loc) · 1.46 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
# -*- coding: utf-8 -*-
import os
import re
from setuptools import setup, find_packages
PACKAGE_NAME = 'pyimath'
__version__ = '0.1.1'
__author__ = 'Sébastien Louchart:sebastien.louchart@gmail.com'
# parse version, author and contact from package/module without importing or evaluating the code
author, author_email = '', ''
m = re.search(r"^'(?P<author>[^:]+):(?P<author_email>[^']+)'$", __author__)
if m:
author, author_email = m.group('author'), m.group('author_email')
setup(
name=PACKAGE_NAME,
version=__version__,
license='MIT',
description='Pure Python library for finite field arithmetic and polynomial manipulation',
long_description_content_type='text/markdown',
long_description=open(os.path.join(os.path.dirname(__file__), 'README.md')).read(),
keywords='python math arithmetic algebra polynomials number_theory integers',
url='https://github.com/slouchart/pyimath',
author='Sébastien Louchart',
author_email='sebastien.louchart@gmail.com',
classifiers=['License :: OSI Approved :: MIT License',
'Development Status :: 4 - Beta',
'Programming Language :: Python :: 3 :: Only',
'Intended Audience :: Education',
'Operating System :: OS Independent',
'Topic :: Scientific/Engineering :: Mathematics',
],
packages=find_packages(exclude=['tests']),
platforms=['any', 'all'],
python_requires='>=3',
)