From 5d2690ed8a1b31c4d695f6c6293773d89262b08a Mon Sep 17 00:00:00 2001 From: David Kerkeslager Date: Wed, 3 May 2017 19:39:07 -0400 Subject: [PATCH] More changes for pypi --- MANIFEST.in | 2 ++ README.md => README.rst | 0 setup.cfg | 1 + setup.py | 74 +++++++++++++++++++++++++++++++++++++++++ 4 files changed, 77 insertions(+) create mode 100644 MANIFEST.in rename README.md => README.rst (100%) create mode 100644 setup.cfg create mode 100644 setup.py diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..e02cfac --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,2 @@ +# Include the license file +include LICENSE.txt diff --git a/README.md b/README.rst similarity index 100% rename from README.md rename to README.rst diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..af57bc0 --- /dev/null +++ b/setup.cfg @@ -0,0 +1 @@ +[bdist_wheel] diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..701f1f0 --- /dev/null +++ b/setup.py @@ -0,0 +1,74 @@ +from setuptools import setup, find_packages +from codecs import open +from os import path + +here = path.abspath(path.dirname(__file__)) + +# Get the long description from the README file +with open(path.join(here, 'README.rst'), encoding='utf-8') as f: + long_description = f.read() + +setup( + name='don', + version='0.0.1', + description='A dual-format serialization library and reference implementation for Dual Object Notation', + long_description=long_description, + url='https://github.com/kerkeslager/don', + author='David Kerkeslager', + author_email='', + license='GPL-3.0', + # See https://pypi.python.org/pypi?%3Aaction=list_classifiers + classifiers=[ + # How mature is this project? Common values are + # 3 - Alpha + # 4 - Beta + # 5 - Production/Stable + 'Development Status :: 3 - Alpha', + + # Indicate who your project is intended for + 'Intended Audience :: Developers', + 'Topic :: Software Development :: Libraries', + + # Pick your license as you wish (should match "license" above) + 'License :: OSI Approved :: GNU General Public License v3 (GPLv3)' + + # Specify the Python versions you support here. In particular, ensure + # that you indicate whether you support Python 2, Python 3 or both. + 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 3.3', + 'Programming Language :: Python :: 3.4', + 'Programming Language :: Python :: 3.5', + ], + + # What does your project relate to? + keywords='serialization encoding', + + # You can just specify the packages manually here if your project is + # simple. Or you can use find_packages(). + packages=find_packages(exclude=['contrib', 'docs', 'tests']), + + # Alternatively, if you want to distribute just a my_module.py, uncomment + # this: + # py_modules=["my_module"], + + # List run-time dependencies here. These will be installed by pip when + # your project is installed. For an analysis of "install_requires" vs pip's + # requirements files see: + # https://packaging.python.org/en/latest/requirements.html + install_requires=[], + + # List additional groups of dependencies here (e.g. development + # dependencies). You can install these using the following syntax, + # for example: + # $ pip install -e .[dev,test] + extras_require={ + 'dev': [], + 'test': [], + }, + + # If there are data files included in your packages that need to be + # installed, specify them here. If using Python 2.6 or less, then these + # have to be included in MANIFEST.in as well. + package_data={ + }, +) -- 2.20.1