1- import io
21import os
32from setuptools import setup
43
109
1110# Load index.rst as long_description
1211doc_path = os .path .join (os .path .dirname (__file__ ), "docs" , "index.rst" )
13- long_description = io . open (doc_path , encoding = "utf-8" ).read ()
12+ long_description = open (doc_path , encoding = "utf-8" ).read ()
1413
1514# Stops exit traceback on tests
1615try :
@@ -33,7 +32,7 @@ def get_version(version_tuple):
3332version_line = list (filter (lambda l : l .startswith ("VERSION" ), open (init )))[0 ]
3433version = get_version (eval (version_line .split ("=" )[- 1 ]))
3534
36- test_requirements = ["coverage" , "nose" , "rednose " ]
35+ test_requirements = ["coverage" , "nose" , "pytest" , "pytest-cov " ]
3736
3837setup (
3938 name = "flask-mongoengine" ,
@@ -42,7 +41,6 @@ def get_version(version_tuple):
4241 license = "BSD" ,
4342 author = "Ross Lawley" ,
444345- test_suite = "nose.collector" ,
4644 zip_safe = False ,
4745 platforms = "any" ,
4846 install_requires = [
@@ -63,11 +61,15 @@ def get_version(version_tuple):
6361 "License :: OSI Approved :: BSD License" ,
6462 "Operating System :: OS Independent" ,
6563 "Programming Language :: Python" ,
64+ "Programming Language :: Python :: 3 :: Only" ,
6665 "Programming Language :: Python :: 3" ,
6766 "Programming Language :: Python :: 3.6" ,
6867 "Programming Language :: Python :: 3.7" ,
6968 "Programming Language :: Python :: 3.8" ,
69+ "Programming Language :: Python :: Implementation :: PyPy"
70+ "Programming Language :: Python :: Implementation :: CPython" ,
7071 "Topic :: Internet :: WWW/HTTP :: Dynamic Content" ,
7172 "Topic :: Software Development :: Libraries :: Python Modules" ,
73+ "Framework :: Flask" ,
7274 ],
7375)
0 commit comments