Commit 821e7acb authored by nimrod's avatar nimrod
Browse files

Python module scaffolding.

Just enough to build and install a wheel. Now all that's left is to
write the code. Easy, right?
parent 60072105
Loading
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -2,3 +2,11 @@
include:
  - project: shore/ci-stuff
    file: templates/pre-commit.yml
  - project: shore/ci-stuff
    file: templates/python.yml

install-wheel:
  extends: .install-wheel
  script:
    - python3 -m yamltool
    - yt
+1 −1
Original line number Diff line number Diff line
@@ -63,7 +63,7 @@ repos:
              --line-length=79

  - repo: https://github.com/PyCQA/prospector.git
    rev: 1.5.1
    rev: 1.5.3.1
    hooks:
      - id: prospector
        args:

MANIFEST.in

0 → 100644
+5 −0
Original line number Diff line number Diff line
include *.rst
include *.txt
exclude .pre-commit-config.yaml
exclude .gitlab-ci.yml
exclude .gitignore

setup.cfg

0 → 100644
+11 −0
Original line number Diff line number Diff line
[bumpversion]
current_version = 0.0.1
commit = True
tag = True

[bdist_wheel]
universal = 1

[bumpversion:file:setup.py]

[bumpversion:glob:*/__init__.py]

setup.py

0 → 100644
+41 −0
Original line number Diff line number Diff line
from setuptools import setup, find_packages
import yamltool

with open("README.rst", "r", encoding="utf-8") as readme:
    long_description = readme.read()

setup(
    name="yamltool",
    version=yamltool.__version__,
    description=yamltool.__doc__.splitlines()[0],
    long_description=long_description,
    long_description_content_type="text/x-rst",
    url="https://git.shore.co.il/nimrod/yamltool",
    author="Nimrod Adar",
    author_email="nimrod@shore.co.il",
    license="MIT",
    classifiers=[
        "Development Status :: 3 - Alpha",
        "Environment :: Console",
        "Intended Audience :: Developers",
        "Intended Audience :: Information Technology",
        "Intended Audience :: System Administrators",
        "License :: OSI Approved :: MIT License",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3.6",
        "Programming Language :: Python :: 3.7",
        "Programming Language :: Python :: 3.8",
        "Programming Language :: Python :: 3.9",
        "Topic :: Software Development",
        "Topic :: Software Development :: Debuggers",
        "Topic :: Software Development :: Quality Assurance",
        "Topic :: Text Processing :: Markup",
        "Topic :: Utilities",
    ],
    keywords="yaml",
    packages=find_packages(),
    install_requires=[
        "ruamel.yaml>=0.15.0",
    ],
    entry_points={"console_scripts": ["yt=yamltool.__main__:main"]},
)
Loading