mirror of
https://github.com/TECHNOFAB11/bumpver.git
synced 2025-12-12 14:30:09 +01:00
update setup.py
This commit is contained in:
parent
cb83f34f80
commit
2e20d8d364
3 changed files with 18 additions and 20 deletions
2
makefile
2
makefile
|
|
@ -403,6 +403,8 @@ build_dist:
|
||||||
## and is copied into a temp container during the build).
|
## and is copied into a temp container during the build).
|
||||||
## 2. Your docker daemon is not running or configured to
|
## 2. Your docker daemon is not running or configured to
|
||||||
## expose on tcp://localhost:2375
|
## expose on tcp://localhost:2375
|
||||||
|
## 3. Your shell is not configured to connect to your docker
|
||||||
|
## daemon via "export DOCKER_HOST=localhost:2375"
|
||||||
.PHONY: build_docker
|
.PHONY: build_docker
|
||||||
build_docker:
|
build_docker:
|
||||||
@if [[ -f $$HOME/.ssh/${PKG_NAME}_gitlab_runner_id_rsa ]]; then \
|
@if [[ -f $$HOME/.ssh/${PKG_NAME}_gitlab_runner_id_rsa ]]; then \
|
||||||
|
|
|
||||||
|
|
@ -23,3 +23,4 @@ twine
|
||||||
md-toc
|
md-toc
|
||||||
straitjacket
|
straitjacket
|
||||||
pycalver
|
pycalver
|
||||||
|
lib3to6
|
||||||
|
|
|
||||||
35
setup.py
35
setup.py
|
|
@ -19,20 +19,20 @@ def read(*sub_paths):
|
||||||
return fh.read().decode("utf-8")
|
return fh.read().decode("utf-8")
|
||||||
|
|
||||||
|
|
||||||
packages = setuptools.find_packages(project_path("src"))
|
install_requires = [
|
||||||
package_dir = {"": "src"}
|
line.strip()
|
||||||
|
for line in read("requirements", "pypi.txt").splitlines()
|
||||||
|
if line.strip() and not line.startswith("#")
|
||||||
|
]
|
||||||
|
|
||||||
|
package_dir = {"": "src"}
|
||||||
|
|
||||||
if any(arg.startswith("bdist") for arg in sys.argv):
|
if any(arg.startswith("bdist") for arg in sys.argv):
|
||||||
import lib3to6
|
import lib3to6
|
||||||
package_dir = lib3to6.fix(package_dir)
|
package_dir = lib3to6.fix(package_dir)
|
||||||
|
|
||||||
|
|
||||||
long_description = (
|
long_description = "\n\n".join((read("README.md"), read("CONTRIBUTING.md"), read("CHANGELOG.md")))
|
||||||
read("README.rst") +
|
|
||||||
"\n\n" +
|
|
||||||
read("CHANGELOG.rst")
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
setuptools.setup(
|
setuptools.setup(
|
||||||
|
|
@ -46,22 +46,17 @@ setuptools.setup(
|
||||||
keywords="version versioning bumpversion calver",
|
keywords="version versioning bumpversion calver",
|
||||||
description="CalVer versioning for python libraries.",
|
description="CalVer versioning for python libraries.",
|
||||||
long_description=long_description,
|
long_description=long_description,
|
||||||
|
long_description_content_type="text/markdown",
|
||||||
packages=packages,
|
packages=["pycalver"],
|
||||||
package_dir=package_dir,
|
package_dir=package_dir,
|
||||||
zip_safe=True,
|
install_requires=install_requires,
|
||||||
install_requires=["typing", "click"],
|
setup_requires=["lib3to6"],
|
||||||
setup_requires=[
|
entry_points="""
|
||||||
"lib3to6==v201809.0017-alpha",
|
|
||||||
"pytest-runner",
|
|
||||||
],
|
|
||||||
tests_require=[
|
|
||||||
"pytest",
|
|
||||||
],
|
|
||||||
entry_points='''
|
|
||||||
[console_scripts]
|
[console_scripts]
|
||||||
pycalver=pycalver.__main__:cli
|
pycalver=pycalver.__main__:cli
|
||||||
''',
|
""",
|
||||||
|
python_requires=">=3.6",
|
||||||
|
zip_safe=True,
|
||||||
classifiers=[
|
classifiers=[
|
||||||
"Development Status :: 4 - Beta",
|
"Development Status :: 4 - Beta",
|
||||||
"Environment :: Console",
|
"Environment :: Console",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue