-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
48 lines (44 loc) · 1.7 KB
/
setup.py
File metadata and controls
48 lines (44 loc) · 1.7 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
# -*- coding: utf-8 -*-
import io
import re
from setuptools import setup, find_packages
import sys
# Python'a, README.md dosyasını hangi işletim sisteminde olursa olsun
# her zaman UTF-8 kodlamasıyla okumasını söylüyoruz.
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
sys.stdout = io.TextIOWrapper(sys.stdout.buffer, encoding='utf-8')
def get_version():
with open('kececisquares/__init__.py', 'r', encoding='utf-8') as f:
content = f.read()
match = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]", content, re.M)
if match:
return match.group(1)
raise RuntimeError("Unable to find version string.")
from setuptools import setup, find_packages
setup(
name="kececisquares",
version=get_version(),
description="Keçeci Binomial Squares (Keçeci Binom Kareleri): The Keçeci Binomial Square is a series of binomial coefficients forming a square region within Khayyam (مثلث خیام), Pascal, Binomial Triangle, selected from a specified starting row with defined size and alignment.",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
author="Mehmet Keçeci",
maintainer="Mehmet Keçeci",
author_email="mkececi@yaani.com",
maintainer_email="mkececi@yaani.com",
url="https://github.com/WhiteSymmetry/kececisquares",
packages=find_packages(),
install_requires=[
"numpy",
"matplotlib"
],
extras_require={
},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires='>=3.11',
license="AGPL-3.0-or-later",
)