1 | """Packaging logic for the rfc3986 library."""
|
---|
2 | import io
|
---|
3 | import os
|
---|
4 | import sys
|
---|
5 |
|
---|
6 | import setuptools
|
---|
7 |
|
---|
8 | sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'src')) # noqa
|
---|
9 |
|
---|
10 | import rfc3986
|
---|
11 |
|
---|
12 | packages = [
|
---|
13 | 'rfc3986',
|
---|
14 | ]
|
---|
15 |
|
---|
16 | with io.open('README.rst', encoding='utf-8') as f:
|
---|
17 | readme = f.read()
|
---|
18 |
|
---|
19 | setuptools.setup(
|
---|
20 | name='rfc3986',
|
---|
21 | version=rfc3986.__version__,
|
---|
22 | description='Validating URI References per RFC 3986',
|
---|
23 | long_description=readme,
|
---|
24 | author='Ian Stapleton Cordasco',
|
---|
25 | author_email='graffatcolmingov@gmail.com',
|
---|
26 | url='http://rfc3986.readthedocs.io',
|
---|
27 | packages=packages,
|
---|
28 | package_dir={'': 'src'},
|
---|
29 | package_data={'': ['LICENSE']},
|
---|
30 | include_package_data=True,
|
---|
31 | license='Apache 2.0',
|
---|
32 | classifiers=[
|
---|
33 | 'Development Status :: 5 - Production/Stable',
|
---|
34 | 'Intended Audience :: Developers',
|
---|
35 | 'Natural Language :: English',
|
---|
36 | 'License :: OSI Approved :: Apache Software License',
|
---|
37 | 'Programming Language :: Python',
|
---|
38 | 'Programming Language :: Python :: 2.7',
|
---|
39 | 'Programming Language :: Python :: 3',
|
---|
40 | 'Programming Language :: Python :: 3.4',
|
---|
41 | 'Programming Language :: Python :: 3.5',
|
---|
42 | 'Programming Language :: Python :: 3.6',
|
---|
43 | 'Programming Language :: Python :: 3.7',
|
---|
44 | ],
|
---|
45 | extras_require={
|
---|
46 | 'idna2008': ['idna']
|
---|
47 | }
|
---|
48 | )
|
---|