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
|
- # setup.py
- # Setup installation for the application
- from pathlib import Path
- from setuptools import setup
- BASE_DIR = Path(__file__).parent
- # Load packages from requirements.txt
- with open(Path(BASE_DIR, "requirements.txt"), "r") as file:
- required_packages = [ln.strip() for ln in file.readlines()]
- test_packages = [
- "great-expectations==0.13.7",
- "pytest==6.0.2",
- "pytest-cov==2.10.1",
- ]
- dev_packages = [
- "black==20.8b1",
- "flake8==3.8.3",
- "isort==5.5.3",
- "jupyterlab==2.2.8",
- "pre-commit==2.7.1",
- ]
- docs_packages = [
- "mkdocs==1.1.2",
- "mkdocs-macros-plugin==0.5.0",
- "mkdocs-material==6.2.4",
- "mkdocstrings==0.14.0",
- ]
- setup(
- name="tagifai",
- version="0.1",
- license="MIT",
- description="Tag suggestions for projects on Made With ML.",
- author="Goku Mohandas",
- author_email="hello@madewithml.com",
- url="https://madewithml.com/",
- keywords=[
- "machine-learning",
- "artificial-intelligence",
- "madewithml",
- ],
- classifiers=[
- "Development Status :: 3 - Alpha",
- "Intended Audience :: Developers",
- "Topic :: Software Development :: Build Tools",
- "License :: OSI Approved :: MIT License",
- "Programming Language :: Python :: 3",
- ],
- python_requires=">=3.6",
- install_requires=[required_packages],
- extras_require={
- "test": test_packages,
- "dev": test_packages + dev_packages + docs_packages,
- "docs": docs_packages,
- },
- entry_points={
- "console_scripts": [
- "tagifai = app.cli:app",
- ],
- },
- )
|