-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathsetup.py
63 lines (50 loc) · 1.76 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
55
56
57
58
59
60
61
62
63
"""A setuptools based setup module for pyfinite
Copyright (c) 2018, Emin Martinian
See LICENSE at the top-level of this distribution for more information.
"""
# see also setup.cfg
import io
from os import path
from setuptools import setup, find_packages
from pyfinite import VERSION
def get_readme():
"""Get the long description from the README file.
"""
here = path.abspath(path.dirname(__file__))
with io.open(path.join(here, 'README.rst'), encoding='utf-8') as my_fd:
result = my_fd.read()
return result
setup(
name='pyfinite',
version=VERSION,
description='Finite field operations and erasure correction codes.',
long_description=get_readme(),
url='http://github.com/emin63/pyfinite',
author='Emin Martinian',
author_email='[email protected]',
include_package_data=True,
license='MIT',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Programming Language :: Python :: 3',
],
keywords='finite field math',
# You can just specify the packages manually here if your project is
# simple. Or you can use find_packages().
packages=find_packages(exclude=['contrib', 'docs', 'tests']),
install_requires=['msgpack-python'],
# If there are data files included in your packages that need to be
# installed, specify them here.
package_data={
'sample': ['package_data.dat'],
},
# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow
# pip to create the appropriate form of executable for the target platform.
entry_points={
'console_scripts': [
'sample=sample:main',
],
},
)