Skip to content

Commit

Permalink
Moving all info to setup.cfg (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
regebro authored Oct 25, 2019
1 parent 27147bb commit 96c44ed
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 52 deletions.
2 changes: 1 addition & 1 deletion CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Changelog
3.2 (unreleased)
----------------

- Nothing changed yet.
- Moved all the information from setup.py into setup.cfg.


3.1 (2019-10-25)
Expand Down
5 changes: 4 additions & 1 deletion CONTRIBUTORS.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
Contributors
============

Lennart Regebro <[email protected]>, Original Author

Justin Gruenberg implemented the Quadradic Bezier calculations and
Expand All @@ -9,5 +12,5 @@ Steve Schwarz added an error argument to make that choice an argument.

ClayJarCom speeded up `point()` calculations for paths.

Thanks also to bug fixers Martin R, abcjjy, Daniel Stender, MTician,
Thanks also to bug fixers Martin R, abcjjy, Daniel Stender, MTician,
blokhin and jaraco.
32 changes: 32 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,3 +1,35 @@
[metadata]
name = svg.path
version = 3.2.dev0
description = SVG path objects and parser
long_description = file: README.rst, CONTRIBUTORS.txt, CHANGES.txt
classifiers =
Development Status :: 5 - Production/Stable
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Operating System :: OS Independent
Programming Language :: Python
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 :: PyPy
Topic :: Multimedia :: Graphics
keywords = svg, path, maths
author = Lennart Regebro
author_email = [email protected]
url = https://github.com/regebro/svg.path
license = MIT

[options]
zip_safe = True
include_package_data = True
packages = find:
package_dir =
= src
test_suite = svg.path.tests

[pep8]
max-line-length=100
ignore=E126,E127
Expand Down
52 changes: 2 additions & 50 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,50 +1,2 @@
from setuptools import setup, find_packages
import os

version = '3.2.dev0'

long_description = (
open('README.rst').read()
+ '\n' +
'Contributors\n'
'============\n'
+ '\n' +
open('CONTRIBUTORS.txt').read()
+ '\n' +
open('CHANGES.txt').read()
+ '\n')

setup(name='svg.path',
version=version,
description='SVG path objects and parser',
long_description=long_description,
# Get more strings from
# http://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'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 :: PyPy',
'Topic :: Multimedia :: Graphics'
],
keywords='svg path maths',
author='Lennart Regebro',
author_email='[email protected]',
url='https://github.com/regebro/svg.path',
license='MIT',
packages=find_packages('src'),
package_dir={'': 'src'},
include_package_data=True,
zip_safe=True,
install_requires=[
'setuptools',
],
test_suite='svg.path.tests',
)
from setuptools import setup
setup()

0 comments on commit 96c44ed

Please sign in to comment.