-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
52 lines (49 loc) · 1.53 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
"""
@Author Marco A. Gallegos
@Date 2020/12/31
@update 2022/04/04
@Description
archivo que describe el paquete distribuible.
how to use:
compile -> python3 setup.py sdist bdist_wheel
"""
import setuptools
from common.versions import get_version
with open("readme.md", "r") as fh:
long_description = fh.read()
fh.close()
setuptools.setup(
name="commitcli",
version=get_version(),
author="Marco A. Gallegos",
author_email="[email protected]",
description="commit cli for git with some formats, by default short version of odoo format",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/marco-gallegos/commit-cli",
license="MIT",
keywords="cli,cc,commit,git,odoo,github,gitlab,bitbucket,conventional commits, semantic commits",
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires='>=3.8',
install_requires=[
'inquirer',
'click',
'loguru',
'pendulum',
'pygit2',
'pymongo',
'python-dotenv',
],
# hacer que setup tools genere un comando cli
entry_points={
'console_scripts': ['commitcli=commitcli.commitcli:main'],
},
## test this new code
# package_data={'': ['commitclirc']}, # just to add this template file and us it instead hardcoding it
# include_package_data=True,
)