|
1 | | -import os |
2 | | -import pathlib |
3 | | -import sys |
| 1 | +from setuptools import setup |
4 | 2 |
|
5 | | -from setuptools import find_packages, setup |
6 | | - |
7 | | -from src.fuzzylogic import __version__ |
8 | | - |
9 | | -here = os.path.abspath(os.path.dirname(__file__)) |
10 | | -src = os.path.join(here, "src/fuzzylogic") |
11 | | -sys.path.append(src) |
12 | | - |
13 | | -__license__ = "MIT" |
14 | | -__author__ = "Anselm Kiefner" |
15 | | -__contact__ = "fuzzylogic@anselm.kiefner.de" |
16 | | - |
17 | | -classifiers = [ |
18 | | - "Development Status :: 5 - Production/Stable", |
19 | | - "Intended Audience :: Developers", |
20 | | - "Intended Audience :: Education", |
21 | | - "Intended Audience :: Manufacturing", |
22 | | - "Intended Audience :: Science/Research", |
23 | | - "Natural Language :: English", |
24 | | - "License :: OSI Approved :: MIT License", |
25 | | - "Operating System :: OS Independent", |
26 | | - "Programming Language :: Python :: 3 :: Only", |
27 | | - "Topic :: Scientific/Engineering :: Artificial Intelligence", |
28 | | - "Topic :: Scientific/Engineering :: Mathematics", |
29 | | - "Topic :: Scientific/Engineering :: Information Analysis", |
30 | | -] |
31 | | - |
32 | | -setup( |
33 | | - packages=find_packages(where="src"), |
34 | | - package_dir={"": "src"}, |
35 | | - long_description=pathlib.Path("README.md").read_text(), |
36 | | - long_description_content_type="text/markdown", |
37 | | - zip_safe=False, |
38 | | - name="fuzzylogic", |
39 | | - description="Fuzzy Logic for Python 3", |
40 | | - license=__license__, |
41 | | - url="https://github.com/amogorkon/fuzzylogic", |
42 | | - version=".".join(str(c) for c in __version__), |
43 | | - author=__author__, |
44 | | - author_email=__contact__, |
45 | | - python_requires=">=3.12", |
46 | | - keywords="fuzzy logic", |
47 | | - classifiers=classifiers, |
48 | | - extras_require={ |
49 | | - "plotting": ["matplotlib"], |
50 | | - }, |
51 | | -) |
| 3 | +setup() |
0 commit comments