From 7db88cb6d8d1ab4731eb9c06c07adb4adfa2712e Mon Sep 17 00:00:00 2001 From: Ian Fijolek Date: Mon, 8 Feb 2021 09:08:42 -0800 Subject: [PATCH] Bundle module in setup --- .pre-commit-config.yaml | 1 - setup.py | 22 +++++----------------- 2 files changed, 5 insertions(+), 18 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ce4bb3d..359cfa1 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -11,7 +11,6 @@ repos: - 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) diff --git a/setup.py b/setup.py index 6fae632..e90c1aa 100644 --- a/setup.py +++ b/setup.py @@ -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",