-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
56 lines (48 loc) · 2.03 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
import os
import re
from setuptools import find_packages, setup
with open('README.md') as f:
long_description = f.read()
HERE = os.path.dirname(os.path.abspath(__file__))
def get_version():
filename = os.path.join(HERE, 'SpAlgo', '__init__.py')
with open(filename) as ver:
contents = ver.read()
pattern = r"^__version__ = '(.*?)'$"
return re.search(pattern, contents, re.MULTILINE).group(1)
setup(
name='SpAlgo',
packages=find_packages('.', exclude=['tests', 'tests.*']),
version=get_version(),
description='SpAlgo is a python library with special algorithms which will helps you in your education and your tasks.',
author='Mohammad Keshavarzi & Amir Shamsi',
url='https://github.com/Amir-Shamsi/SpAlgo',
license='MIT',
author_email='amirshamsi.github@gmail.com',
github='https://github.com/mohammadkeshavarzi/SpAlgo & https://github.com/Amir-Shamsi',
linkedin='https://linkedin.com/in/amir-shamsi & https://linkedin.com/in/mohammad-keshavarzi-1b1671218',
install_requires=[],
download_url='https://github.com/Amir-Shamsi/SpAlgo/archive/refs/tags/' + get_version() + '.tar.gz',
keywords=['SpAlgo', 'Algorithm', 'Matrix', 'Array'],
setup_requires=['pytest-runner==6.0.0'],
tests_require=['pytest==7.2.0'],
test_suite='tests',
include_package_data=True,
zip_safe=False,
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Topic :: Software Development :: Build Tools',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
],
long_description=long_description,
long_description_content_type='text/markdown'
)