Compare commits

...

3 Commits

Author SHA1 Message Date
IamTheFij 3af2427b5d Update pre-commit hooks
continuous-integration/drone/push Build is passing Details
2022-04-04 20:20:38 -07:00
IamTheFij 5245a21c8d Add alternate install instructions 2021-02-08 09:11:49 -08:00
IamTheFij 7db88cb6d8 Bundle module in setup
continuous-integration/drone/tag Build is passing Details
2021-02-08 09:08:42 -08:00
3 changed files with 16 additions and 23 deletions

View File

@ -1,25 +1,24 @@
---
repos:
- repo: https://github.com/psf/black
rev: 20.8b1
rev: 22.3.0
hooks:
- id: black
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.4.0
rev: v4.1.0
hooks:
- id: check-added-large-files
- id: check-merge-conflict
- id: debug-statements
- id: end-of-file-fixer
- id: fix-encoding-pragma
- id: trailing-whitespace
- id: name-tests-test
exclude: tests/(common.py|util.py|(helpers|integration/factories)/(.+).py)
- repo: https://github.com/asottile/reorder_python_imports
rev: v2.4.0
rev: v3.0.1
hooks:
- id: reorder-python-imports
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.800
rev: v0.942
hooks:
- id: mypy

View File

@ -21,7 +21,13 @@ you can run:
## Installation
pip install padio
Padio can be run on any system that includes Python 3 after installation with `pip`:
pip3 install padio
Or by downloading `./padio.py` and placing it anywhere in your `$PATH`.
*Note: I have not tested on Windows, but would welcome feedback or a patch*
## Usage

View File

@ -1,8 +1,6 @@
# -*- coding: utf-8 -*-
from codecs import open
from os import path
from setuptools import find_packages
from setuptools import setup
here = path.abspath(path.dirname(__file__))
@ -13,34 +11,24 @@ with open(path.join(here, "README.md"), encoding="utf-8") as f:
setup(
name="padio",
version="1.0.0",
version="1.0.1",
description="Zero pad numeric filenames",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://git.iamthefij.com/iamthefij/padio.git",
download_url=(
"https://git.iamthefij.com/iamthefij/padio.git/archive/master.tar.gz"
),
download_url=("https://git.iamthefij.com/iamthefij/padio/releases"),
author="iamthefij",
author_email="",
author_email="ian@iamthefij.com",
classifiers=[
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
],
keywords="",
packages=find_packages(
exclude=[
"contrib",
"docs",
"examples",
"scripts",
"tests",
]
),
install_requires=[],
py_modules=["padio"],
entry_points={
"console_scripts": [
"padio=padio:main",