1616from setuptools import setup , find_packages
1717
1818
19- DESCRIPTION = (
20- "Tools for creating and analysing graphs of "
21- "Python objects and their references." )
19+ LONG_DESCRIPTION = """\
20+ The refcycle package provides tools for analysing and visualizing references
21+ from Python objects to each other, and in particular for finding reference
22+ cycles and strongly connected components of the object graph. It provides an
23+ ``ObjectGraph`` type representing a collection of Python objects and references
24+ between them, along with functionality to output the graph in GraphViz .dot
25+ format for visualisation purposes, and an ability to serialise a graph in JSON
26+ format for offline analysis.
27+ """
28+
29+
2230URL = "https://github.com/mdickinson/refcycle"
2331
2432
@@ -36,13 +44,23 @@ def get_version():
3644setup (
3745 name = "refcycle" ,
3846 version = version ,
39- url = URL ,
4047 author = "Mark Dickinson" ,
4148 author_email = "dickinsm@gmail.com" ,
42- description = DESCRIPTION ,
49+ url = URL ,
50+ license = "Apache license" ,
51+ description = "Find and visualise reference cycles between Python objects." ,
52+ long_description = LONG_DESCRIPTION ,
4353 install_requires = ["six" ],
4454 packages = find_packages (),
45- license = "License :: OSI Approved :: Apache Software License" ,
4655 platforms = ["Windows" , "Linux" , "Mac OS-X" , "Unix" , "Solaris" ],
4756 download_url = "{}/releases/tag/{}" .format (URL , version ),
57+ classifiers = [
58+ "Development Status :: 3 - Alpha" ,
59+ "Intended Audience :: Developers" ,
60+ "License :: OSI Approved :: Apache Software License" ,
61+ "Operating System :: MacOS" ,
62+ "Operating System :: Microsoft :: Windows" ,
63+ "Operating System :: Unix" ,
64+ "Programming Language :: Python :: Implementation :: CPython" ,
65+ ],
4866)
0 commit comments