Skip to content

Commit 72c0694

Browse files
updated setup.py
1 parent ee48aec commit 72c0694

1 file changed

Lines changed: 18 additions & 8 deletions

File tree

setup.py

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,36 @@
11
#!/usr/bin/env python
22

3-
from distutils.core import setup
3+
from setuptools import setup
44

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()
710

811
setup(
912
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",
1316
url="https://github.com/garyp/sifter",
1417
license="BSD",
15-
description="Parser/evaluator for the Sieve filtering language (RFC 5228)",
1618
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',
1725
install_requires=[
1826
"ply",
1927
],
2028
classifiers=[
2129
"Programming Language :: Python",
22-
"Programming Language :: Python :: 2",
2330
"Programming Language :: Python :: 3",
31+
"Programming Language :: Python :: 3.6",
32+
"Programming Language :: Python :: 3.7",
33+
"Programming Language :: Python :: 3.8",
2434
"License :: OSI Approved :: BSD License",
2535
"Development Status :: 4 - Beta",
2636
"Intended Audience :: Developers",

0 commit comments

Comments
 (0)