-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
59 lines (42 loc) · 1.56 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
57
58
59
import codecs
import os
from setuptools import setup, find_packages
HERE = os.path.abspath(os.path.dirname(__file__))
NAME = "Fuzzy_Clustering"
DESCRIPTION = "an implementation of fuzzy clustering algorithms"
VERSION = "1.0.0"
URL = "https://github.com/Sam-damn/Fuzzy-Clustering"
AUTHOR = "Sameh Haidar"
AUTHOR_EMAIL = "[email protected]"
KEYWORDS = ["fuzzy", "cluster", "fuzzy c means"]
PACKAGES = find_packages(where="src")
INSTALL_REQUIRES = ["numpy>=1.16.4"]
def read(name):
with codecs.open(os.path.join(HERE, name), "r", "utf-8") as f:
return f.read()
if __name__ == "__main__":
setup(
name = NAME,
description = DESCRIPTION,
license = "MIT",
version = VERSION,
url = URL,
author = AUTHOR,
author_email = AUTHOR_EMAIL,
keywords = KEYWORDS,
long_description = read("README.md"),
long_description_content_type = "text/markdown",
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",],
packages = PACKAGES,
package_dir = {"": "src"},
install_requires = INSTALL_REQUIRES,
python_requires = ">=3.6",
package_data = {
"fuzzy_clustering":["data/*.jpeg"]
},
include_package_data = True,
extras_require = {
"examples": ["matplotlib","opencv-python","scikit-image","scikit-learn"]})