|
1 | 1 | #!/usr/bin/env python |
2 | 2 |
|
3 | | -from distutils.core import setup |
| 3 | +from setuptools import setup |
4 | 4 |
|
5 | | -with open('README.rst') as file: |
6 | | - long_description = file.read() |
| 5 | +# read the contents of your README file |
| 6 | +from os import path |
| 7 | +this_directory = path.abspath(path.dirname(__file__)) |
| 8 | +with open(path.join(this_directory, 'README.rst'), encoding='utf-8') as f: |
| 9 | + long_description = f.read() |
7 | 10 |
|
8 | 11 | setup( |
9 | 12 | name="sifter", |
10 | | - version="0.1", |
11 | | - author="Gary Peck", |
12 | | - author_email="gary@realify.com", |
| 13 | + version="0.2.0", |
| 14 | + author="Gary Peck, Manfred Kaiser", |
| 15 | + author_email="gary@realify.com, manfred.kaiser@logfile.at", |
13 | 16 | url="https://github.com/garyp/sifter", |
14 | 17 | license="BSD", |
15 | | - description="Parser/evaluator for the Sieve filtering language (RFC 5228)", |
16 | 18 | long_description=long_description, |
| 19 | + long_description_content_type='text/x-rst', |
| 20 | + project_urls={ |
| 21 | + 'Source': 'https://github.com/garyp/sifter', |
| 22 | + 'Tracker': 'https://github.com/garyp/sifter/issues', |
| 23 | + }, |
| 24 | + python_requires='>= 3.6', |
17 | 25 | install_requires=[ |
18 | 26 | "ply", |
19 | 27 | ], |
20 | 28 | classifiers=[ |
21 | 29 | "Programming Language :: Python", |
22 | | - "Programming Language :: Python :: 2", |
23 | 30 | "Programming Language :: Python :: 3", |
| 31 | + "Programming Language :: Python :: 3.6", |
| 32 | + "Programming Language :: Python :: 3.7", |
| 33 | + "Programming Language :: Python :: 3.8", |
24 | 34 | "License :: OSI Approved :: BSD License", |
25 | 35 | "Development Status :: 4 - Beta", |
26 | 36 | "Intended Audience :: Developers", |
|
0 commit comments