~gpanders/pushbroom

1726813d53c5ca3f9d6ed6d3addf189f24cc5b47 — Greg Anders 2 years ago f36b82a
Use poetry in favor of setuptools
4 files changed, 31 insertions(+), 28 deletions(-)

D MANIFEST.in
A poetry.lock
A pyproject.toml
D setup.py
D MANIFEST.in => MANIFEST.in +0 -4
@@ 1,4 0,0 @@
global-exclude .gitignore .git
include setup.py
include README.md
include janitor.conf

A poetry.lock => poetry.lock +7 -0
@@ 0,0 1,7 @@
package = []

[metadata]
content-hash = "7ba5937a13359cece2ea91521dd10c13fb5e097b75e8a55458fc9d5570ab67b7"
python-versions = "^3.4"

[metadata.hashes]

A pyproject.toml => pyproject.toml +24 -0
@@ 0,0 1,24 @@
[tool.poetry]
name = "janitor"
version = "0.1.0"
description = "Clean up your filesystem"
authors = ["Greg Anders <greg@gpanders.com>"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/gpanders/janitor"
include = ["janitor.conf"]
packages = [
    { include = "janitor", from = "src" },
]

[tool.poetry.scripts]
janitor = "janitor.console:run"

[tool.poetry.dependencies]
python = "^3.4"

[tool.poetry.dev-dependencies]

[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"

D setup.py => setup.py +0 -24
@@ 1,24 0,0 @@
from setuptools import setup, find_packages

setup(
    name="janitor",
    version="1.0.0",
    author="Greg Anders",
    author_email="greg@gpanders.com",
    description="Clean up filesystem paths",
    long_description=open("README.md", "r").read(),
    long_description_content_type="text/markdown",
    url="https://github.com/gpanders/janitor",
    package_dir={"": "src"},
    packages=find_packages("src"),
    entry_points={
        "console_scripts": [
            "janitor = janitor.console:run",
        ],
    },
    classifiers=[
        "Programming Language :: Python :: 3",
        "License :: OSI Approved :: MIT License",
        "Operating System :: OS Independent",
    ],
)