|
1 | 1 | import setuptools |
2 | | - |
| 2 | + |
3 | 3 | with open("README.md", "r") as fh: |
4 | 4 | long_description = fh.read() |
5 | | - |
| 5 | + |
6 | 6 | setuptools.setup( |
7 | | - #Here is the module name. |
| 7 | + # Here is the module name. |
8 | 8 | name="random_profile", |
9 | | - |
10 | | - #version of the module |
| 9 | + # version of the module |
11 | 10 | version="0.1.0", |
12 | | - |
13 | | - #Name of Author |
| 11 | + # Name of Author |
14 | 12 | author="CodePerfectPlus", |
15 | | - |
16 | | - #your Email address |
| 13 | + # your Email address |
17 | 14 | author_email="deepak008@live.com", |
18 | | - |
19 | | - #Small Description about module |
| 15 | + # Small Description about module |
20 | 16 | description="Generate Random Profile", |
21 | | - |
22 | 17 | long_description=long_description, |
23 | | - |
24 | | - #Specifying that we are using markdown file for description |
| 18 | + # Specifying that we are using markdown file for description |
25 | 19 | long_description_content_type="text/markdown", |
26 | | - |
27 | | - #Any link to reach this module, if you have any webpage or github profile |
| 20 | + # Any link to reach this module, if you have any webpage or github profile |
28 | 21 | url="https://github.com/codePerfectPlus/Random-Profile-Generator", |
29 | 22 | packages=setuptools.find_packages(), |
30 | | - |
31 | | - #classifiers like program is suitable for python3, just leave as it is. |
| 23 | + # classifiers like program is suitable for python3, just leave as it is. |
32 | 24 | classifiers=[ |
33 | 25 | "Programming Language :: Python :: 3", |
34 | 26 | "License :: OSI Approved :: MIT License", |
35 | 27 | "Operating System :: OS Independent", |
36 | 28 | ], |
| 29 | + entry_points={ |
| 30 | + "console_scripts": ["random_profile = random_profile.__main__:main"], |
| 31 | + }, |
37 | 32 | ) |
0 commit comments