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 943 B

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
  1. # It is providing the necessary details for packaging, distributing, and installing your code!
  2. import setuptools
  3. with open("README.md", "r", encoding="utf-8") as f:
  4. long_description = f.read()
  5. __version__ = "0.0.0"
  6. REPO_NAME = "customer_churn" # repository name of github
  7. AUTHOR_USER_NAME = "maheshpachpande"
  8. SRC_REPO = "customer_churn" # project name src/customer_churn
  9. AUTHOR_EMAIL = "pachpandemahesh3000@gmail.com"
  10. setuptools.setup(
  11. name=SRC_REPO,
  12. version=__version__,
  13. author=AUTHOR_USER_NAME,
  14. author_email=AUTHOR_EMAIL,
  15. description="A small python package for CNN app",
  16. long_description=long_description,
  17. long_description_content="text/markdown",
  18. url=f"https://github.com/{AUTHOR_USER_NAME}/{REPO_NAME}",
  19. project_urls={
  20. "Bug Tracker": f"https://github.com/{AUTHOR_USER_NAME}/{REPO_NAME}/issues",
  21. },
  22. package_dir={"": "src"},
  23. packages=setuptools.find_packages(where="src")
  24. )
Tip!

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

Comments

Loading...