From d1191fe1f81c76971213128ad3d6a98593da63b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Ma=C5=9Blanka?= <piotr.maslanka@henrietta.com.pl> Date: Thu, 1 Jul 2021 17:03:49 +0200 Subject: [PATCH] 1.5 --- CHANGELOG.md | 2 ++ setup.cfg | 28 ++++++++++++++++++++++++---- setup.py | 15 ++------------- 3 files changed, 28 insertions(+), 17 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1907aad..1c2a245 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ * fixed logging * `snakehouse` doesn't need cython and satella installed in advance +* added `find_all` +* made available for PyPy users # v1.4 diff --git a/setup.cfg b/setup.cfg index cb28f68..d08dbef 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,8 @@ # coding: utf-8 [metadata] name = snakehouse +keywords = cython, extension, multiple, pyx +version = 1.5 long-description = file: README.md long-description-content-type = text/markdown; charset=UTF-8 license_files = LICENSE @@ -9,8 +11,8 @@ author_email = piotrm@smok.co description = Utilities for packing multiple pyx files into a single Cython extension url = https://github.com/smok-serwis/snakehouse project-urls = - Code = https://github.com/smok-serwis/snakehouse - Issue tracker = https://github.com/smok-serwis/snakehouse/issues + Code = https://github.com/smok-serwis/snakehouse + Issue tracker = https://github.com/smok-serwis/snakehouse/issues classifier = Programming Language :: Python Programming Language :: Python :: 3.5 @@ -19,13 +21,31 @@ classifier = Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 Programming Language :: Python :: Implementation :: CPython - Operating System :: POSIX + Programming Language :: Python :: Implementation :: PyPy Operating System :: OS Independent Development Status :: 5 - Production/Stable License :: OSI Approved :: MIT License Topic :: Software Development :: Code Generators Topic :: Software Development :: Build Tools +[options] +install_requires = + Cython + mako + satella +python_requires = !=2.7.*,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.* +packages = find: +package_dir = + snakehouse + +[options.packages.find] +exclude = + docs + example + +[options.package_data] +snakehouse = templates/*.mako + [pycodestyle] max-line-length = 100 @@ -33,5 +53,5 @@ max-line-length = 100 max-line-length = 100 [bdist_wheel] -universal = 1 +universal = 0 diff --git a/setup.py b/setup.py index fa1cf48..b024da8 100644 --- a/setup.py +++ b/setup.py @@ -1,15 +1,4 @@ -from setuptools import setup, find_packages +from setuptools import setup -setup(keywords=['cython', 'extension', 'multiple', 'pyx'], - packages=find_packages(include=['snakehouse']), - version='1.5a7', - install_requires=[ - 'Cython', 'mako', 'satella>=2.14.46', - ], - python_requires='!=2.7.*,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*', - package_data={ - 'snakehouse': ['templates/*.mako'] - }, - package_dir={'snakehouse': 'snakehouse'}, - ) +setup() -- GitLab