-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
72 lines (67 loc) · 2.08 KB
/
Copy pathsetup.py
File metadata and controls
72 lines (67 loc) · 2.08 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
60
61
62
63
64
65
66
67
68
69
70
71
72
# -*- coding: utf-8 -*-
import io
import re
from setuptools import setup, find_packages
import sys
import os
# UTF-8 encoding sorunlarını çöz
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('kececicurve/__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.")
def get_install_requires():
"""Kurulum bağımlılıklarını dinamik olarak belirle"""
base_requires = [
"numpy",
"matplotlib",
"scipy",
]
setup(
name="kececicurve",
version=get_version(),
description="kececicurve, Keçeci Curve, Keçeci Eğrisi Modülü",
long_description=long_description,
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/kececicurve",
packages=find_packages(),
package_data={
"kececicurve": ["__init__.py", "_version.py", "*.pyi"]
},
install_requires=get_install_requires(),
extras_require={
'test': [
"pytest",
"pytest-cov",
],
'dev': [
"pytest",
"pytest-cov",
"twine",
"wheel",
]
},
classifiers=[
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Mathematics"
],
python_requires='>=3.11',
license="AGPL-3.0-or-later",
keywords="Space Curves",
project_urls={
"Documentation": "https://github.com/WhiteSymmetry/kececicurve",
"Source": "https://github.com/WhiteSymmetry/kececicurve",
"Tracker": "https://github.com/WhiteSymmetry/kececicurve/issues",
},
)