Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

setup.py 1.6 KB

You have to be logged in to leave a comment. Sign In
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
  1. # setup.py
  2. # Setup installation for the application
  3. from pathlib import Path
  4. from setuptools import setup
  5. BASE_DIR = Path(__file__).parent
  6. # Load packages from requirements.txt
  7. with open(Path(BASE_DIR, "requirements.txt"), "r") as file:
  8. required_packages = [ln.strip() for ln in file.readlines()]
  9. test_packages = [
  10. "great-expectations==0.13.7",
  11. "pytest==6.0.2",
  12. "pytest-cov==2.10.1",
  13. ]
  14. dev_packages = [
  15. "black==20.8b1",
  16. "flake8==3.8.3",
  17. "isort==5.5.3",
  18. "jupyterlab==2.2.8",
  19. "pre-commit==2.7.1",
  20. ]
  21. docs_packages = [
  22. "mkdocs==1.1.2",
  23. "mkdocs-macros-plugin==0.5.0",
  24. "mkdocs-material==6.2.4",
  25. "mkdocstrings==0.14.0",
  26. ]
  27. setup(
  28. name="tagifai",
  29. version="0.1",
  30. license="MIT",
  31. description="Tag suggestions for projects on Made With ML.",
  32. author="Goku Mohandas",
  33. author_email="hello@madewithml.com",
  34. url="https://madewithml.com/",
  35. keywords=[
  36. "machine-learning",
  37. "artificial-intelligence",
  38. "madewithml",
  39. ],
  40. classifiers=[
  41. "Development Status :: 3 - Alpha",
  42. "Intended Audience :: Developers",
  43. "Topic :: Software Development :: Build Tools",
  44. "License :: OSI Approved :: MIT License",
  45. "Programming Language :: Python :: 3",
  46. ],
  47. python_requires=">=3.6",
  48. install_requires=[required_packages],
  49. extras_require={
  50. "test": test_packages,
  51. "dev": test_packages + dev_packages + docs_packages,
  52. "docs": docs_packages,
  53. },
  54. entry_points={
  55. "console_scripts": [
  56. "tagifai = app.cli:app",
  57. ],
  58. },
  59. )
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...