-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
62 lines (51 loc) · 1.92 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
60
61
62
"""
fraudDetection: A Python project for online Banking transaction fraud detection.
This module contains the setup script for packaging and distributing the 'fraudDetection' project.
Functions:
- setup(): Configures the project metadata and dependencies for packaging.
Usage:
1. Run this script to configure the project metadata.
2. Use 'setuptools' to package and distribute the project.
Example:
from setuptools import setup
# (Your project metadata and dependencies here)
setup(
name="fraudDetection",
version="0.0.0",
author="ArunKhare",
description="A python project for online Banking transaction fraud detection",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/ArunKhare/fraudDetection",
project_urls={
"Bug Tracker": "https://github.com/ArunKhare/fraudDetection/issues",
},
package_dir={"": "src"},
packages=setuptools.find_packages(where="src"),
)
"""
from pathlib import Path
import setuptools
with open(file="README.md", mode="r", encoding="utf-8") as f:
long_description = f.read()
__version__ = "0.0.0"
REPO_NAME = "FraudDectection"
AUTHOR_USER_NAME = "ArunKhare"
SRC_REPO = "fraudDetection"
AUTHOR_EMAIL = "arunvkhare@gmail.com"
setuptools.setup(
name=SRC_REPO,
version=__version__,
author=AUTHOR_USER_NAME,
description="A python project for online Banking transaction fraud detection",
long_description=long_description,
long_description_content="text markdown",
url=Path(f"https://github.com/{AUTHOR_USER_NAME}/{SRC_REPO}"),
project_urls={
"Bug Tracker": Path(
f'https"//github.com/{AUTHOR_USER_NAME}/{SRC_REPO}/issues'
),
},
package_dir={"": "src"},
packages=setuptools.find_packages(where="src"),
)