-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d335efa
commit adf141e
Showing
2 changed files
with
39 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,39 @@ | ||
[metadata] | ||
name = uritemplate | ||
description = Implementation of RFC 6570 URI Templates | ||
author = Ian Stapleton Cordasco | ||
author_email = [email protected] | ||
keywords = rfc 6570 uri template | ||
license = BSD 3-Clause License or Apache License, Version 2.0 | ||
license_file = LICENSE | ||
long_description = file:README.rst | ||
long_description_content_type = text/x-rst | ||
url = https://uritemplate.readthedocs.org | ||
version = attr: uritemplate.__version__ | ||
|
||
classifiers = | ||
Development Status :: 5 - Production/Stable | ||
License :: OSI Approved | ||
License :: OSI Approved :: BSD License | ||
License :: OSI Approved :: Apache Software License | ||
Intended Audience :: Developers | ||
Programming Language :: Python | ||
Programming Language :: Python :: 3 | ||
Programming Language :: Python :: 3.6 | ||
Programming Language :: Python :: 3.7 | ||
Programming Language :: Python :: 3.8 | ||
Programming Language :: Python :: 3.9 | ||
Programming Language :: Python :: 3.10 | ||
Programming Language :: Python :: Implementation :: CPython | ||
|
||
[bdist_wheel] | ||
universal = 1 | ||
|
||
[options] | ||
python_requires = >= 3.6 | ||
include_package_data = True | ||
packages = find: | ||
|
||
[options.package_data] | ||
; NOTE: This only affects sdists | ||
. = LICENSE, LICENSE.APACHE, LICENSE.BSD, AUTHORS.rst, HISTORY.rst |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,3 @@ | ||
from io import open | ||
import setuptools | ||
|
||
from setuptools import setup | ||
|
||
from uritemplate import __version__ | ||
|
||
packages = [ | ||
'uritemplate' | ||
] | ||
|
||
with open("README.rst", encoding="utf-8") as file: | ||
readme = file.read() | ||
|
||
with open("HISTORY.rst", encoding="utf-8") as file: | ||
history = file.read() | ||
|
||
setup( | ||
name="uritemplate", | ||
version=__version__, | ||
description='URI templates', | ||
long_description="\n\n".join([readme, history]), | ||
long_description_content_type="text/x-rst", | ||
license="BSD 3-Clause License or Apache License, Version 2.0", | ||
author="Ian Stapleton Cordasco", | ||
author_email="[email protected]", | ||
url="https://uritemplate.readthedocs.org", | ||
packages=packages, | ||
package_data={'': ['LICENSE', 'LICENSE.APACHE', 'LICENSE.BSD', | ||
'AUTHORS.rst']}, | ||
include_package_data=True, | ||
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*', | ||
classifiers=[ | ||
'Development Status :: 5 - Production/Stable', | ||
'License :: OSI Approved', | ||
'License :: OSI Approved :: BSD License', | ||
'License :: OSI Approved :: Apache Software License', | ||
'Intended Audience :: Developers', | ||
'Programming Language :: Python', | ||
'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 :: 3.7', | ||
'Programming Language :: Python :: 3.8', | ||
'Programming Language :: Python :: Implementation :: CPython', | ||
], | ||
) | ||
setuptools.setup() |