Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
synergy
o3skim
Commits
a4f11ed2
Commit
a4f11ed2
authored
Aug 12, 2020
by
BorjaEst
Browse files
setup moved to .cfg file
parent
086d245b
Changes
2
Hide whitespace changes
Inline
Side-by-side
setup.cfg
0 → 100644
View file @
a4f11ed2
[metadata]
name = cicd
version = 0.1.0
description = My package description
description-file = README.md
author = Borja Esteban
author_email = boressan@outlook.com
classifiers =
License :: TBD-setup.cfg
Programming Language :: Python :: 3.8
[options]
packages = find:
scripts =
main
[options.entry_points]
console_scripts =
hello_world = cicd.module_template:hello_world
setup.py
View file @
a4f11ed2
#!/usr/bin/env python
"""The setup script."""
# Fix the values for the lines with 'TODO'
from
setuptools
import
setup
,
find_packages
setup
(
name
=
'cicd'
,
# TODO
version
=
"0.1.0"
,
# TODO
packages
=
find_packages
(),
scripts
=
[
"main"
],
#TODO
# Project dependencies and comments
install_requires
=
[],
#TODO
package_data
=
{
#TODO
# # If any package contains *.txt or *.rst files, include them:
# "package_name": ["*.extension1", "*.extension2"],
},
# Metadata to display on PyPI
author
=
"Borja Esteban"
,
author_email
=
'boressan@outlook.com'
,
description
=
"Python project template - <change in setup.py>"
,
# TODO
keywords
=
""
,
# TODO
url
=
"https://github.com/BorjaEst/cicd"
,
# project home page, if any
project_urls
=
{
# "Bug Tracker": "https://bugs.example.com/HelloWorld/",
# "Documentation": "https://docs.example.com/HelloWorld/",
# "Source Code": "https://code.example.com/HelloWorld/",
},
# Entry points
entry_points
=
{
"console_scripts"
:
[
"hello_world = cicd.module_template:hello_world"
,
#TODO
]
}
# could also include long_description, download_url, etc.
)
setup
()
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment