Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
include ez_setup.py
include LICENSE
include *.rst
include requirements.txt
include stone/target/swift_rsrc/*
include test/requirements.txt
recursive-include test *.py
331 changes: 0 additions & 331 deletions ez_setup.py

This file was deleted.

2 changes: 1 addition & 1 deletion mypy-run.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash -eux

EXCLUDE='(^example/|^ez_setup\.py$|^setup\.py$)'
EXCLUDE='(^example/|^setup\.py$)'

# Include all Python files registered in Git, that don't occur in $EXCLUDE.
INCLUDE=$(git ls-files "$@" | grep '\.py$' | grep -Ev "$EXCLUDE" | tr '\n' '\0' | xargs -0 | cat)
Expand Down
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[build-system]
# setuptools>=77 is required for the SPDX ``license`` expression used in
# setup.py (see PEP 639).
requires = ["setuptools>=77"]
build-backend = "setuptools.build_meta"
16 changes: 1 addition & 15 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,3 @@
# Don't import unicode_literals because of a bug in py2 setuptools
# where package_data is expected to be str and not unicode.

import sys

try:
from ez_setup import use_setuptools
use_setuptools()
except ImportError:
# Try to use ez_setup, but if not, continue anyway. The import is known
# to fail when installing from a tar.gz.
print('Could not import ez_setup', file=sys.stderr)

from setuptools import setup

# WARNING: This imposes limitations on requirements.txt such that the
Expand Down Expand Up @@ -45,7 +32,7 @@
author_email='kelkabany@dropbox.com',
author='Ken Elkabany',
description='Stone is an interface description language (IDL) for APIs.',
license='MIT License',
license_expression='MIT',
long_description=README,
long_description_content_type='text/x-rst',
maintainer_email='api-platform@dropbox.com',
Expand All @@ -54,7 +41,6 @@
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.11',
Expand Down
Loading