source: uri/setup.py@ 230

Last change on this file since 230 was 230, checked in by wouter, 3 years ago

#91 clone https://pypi.org/project/rfc3986/

File size: 1.3 KB
Line 
1"""Packaging logic for the rfc3986 library."""
2import io
3import os
4import sys
5
6import setuptools
7
8sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'src')) # noqa
9
10import rfc3986
11
12packages = [
13 'rfc3986',
14]
15
16with io.open('README.rst', encoding='utf-8') as f:
17 readme = f.read()
18
19setuptools.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)
Note: See TracBrowser for help on using the repository browser.