Skip to content

Commit

Permalink
Move metadata to setup.cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
jwodder committed Jun 27, 2018
1 parent bac6e31 commit 019b027
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 38 deletions.
46 changes: 44 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,8 +1,50 @@
[aliases]
make=sdist bdist_wheel
make = sdist bdist_wheel

[bdist_wheel]
universal=1
universal = 1

[metadata]
name = in_place
#version = # Set in setup.py
description = In-place file processing
long_description = file:README.rst
author = John Thorvald Wodder II
author_email = [email protected]
license = MIT
license_file = LICENSE
url = https://github.com/jwodder/inplace

keywords =
inplace
in-place
io
open
file
tmpfile
tempfile
sed
redirection
fileinput

classifiers =
Development Status :: 4 - Beta
#Development Status :: 5 - Production/Stable
Programming Language :: Python :: 2
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3
Programming Language :: Python :: 3.4
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6
Programming Language :: Python :: Implementation :: CPython
Programming Language :: Python :: Implementation :: PyPy
License :: OSI Approved :: MIT License
Intended Audience :: Developers
Topic :: System :: Filesystems
Topic :: Text Processing :: Filters

[options]
py_modules = in_place
python_requires = >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4
install_requires =
six ~= 1.4
37 changes: 1 addition & 36 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,39 +11,4 @@
else:
raise RuntimeError('Unable to find own __version__ string')

with open(join(dirname(__file__), 'README.rst')) as fp:
long_desc = fp.read()

setup(
name='in_place',
version=version,
py_modules=['in_place'],
license='MIT',
author='John Thorvald Wodder II',
author_email='[email protected]',
keywords='inplace in-place io open file tmpfile tempfile sed redirection fileinput',
description='In-place file processing',
long_description=long_desc,
url='https://github.com/jwodder/inplace',

install_requires=['six>=1.4,<2'],

classifiers=[
'Development Status :: 4 - Beta',
#'Development Status :: 5 - Production/Stable',

'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',

'License :: OSI Approved :: MIT License',
'Intended Audience :: Developers',
'Topic :: System :: Filesystems',
'Topic :: Text Processing :: Filters',
],
)
setup(version=version)

0 comments on commit 019b027

Please sign in to comment.