-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
59 lines (54 loc) · 2.11 KB
/
Copy pathsetup.py
File metadata and controls
59 lines (54 loc) · 2.11 KB
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
""" nprime package """
from setuptools import find_packages, setup
def convert(markdown_path):
"""Convert a Markdown file to a reStructuredText file with the pypandoc"""
try:
import pypandoc
output = pypandoc.convert_file(markdown_path, 'rst')
except (ImportError, OSError):
with open(markdown_path, encoding='utf-8') as f:
output = f.read()
return output
LONG_DESCRIPTION = convert("README.md")
setup(name='nprime',
description='Python library for primes algorithms',
long_description=LONG_DESCRIPTION,
author='sylhare',
author_email='sylhare@outlook.com',
url='https://github.com/Sylhare/nprime',
license='GNU General Public License v3.0',
tests_require=['pytest'],
install_requires=['matplotlib>=3.5.0'],
keywords=['prime',
'fermat',
'miller rabin',
'math'],
packages=find_packages(),
package_data={
'License': ['LICENSE'],
'Readme': ['README.md'],
},
platforms='any',
zip_safe=True,
test_suite='tests',
classifiers=[
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3 :: Only",
"Environment :: Other Environment",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Intended Audience :: Education",
"License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Libraries",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Utilities"]
)