Skip to content

Commit fa43bf7

Browse files
authored
Don't install test files (PyMySQL#706)
1 parent 44c422d commit fa43bf7

File tree

3 files changed

+12
-9
lines changed

3 files changed

+12
-9
lines changed

MANIFEST.in

-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
11
include README.rst LICENSE CHANGELOG
2-
include runtests.py tox.ini
3-
include example.py

setup.cfg

+10
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,13 @@ max-line-length = 119
55

66
[bdist_wheel]
77
universal = 1
8+
9+
[metadata]
10+
license = "MIT"
11+
license_file = LICENSE
12+
13+
author=yutaka.matsubara
14+
author_email[email protected]
15+
16+
maintainer=INADA Naoki
17+
maintainer_email[email protected]

setup.py

+2-7
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import io
33
from setuptools import setup, find_packages
44

5-
version = __import__('pymysql').VERSION_STRING
5+
version = "0.9.1"
66

77
with io.open('./README.rst', encoding='utf-8') as f:
88
readme = f.read()
@@ -14,14 +14,9 @@
1414
project_urls={
1515
"Documentation": "https://pymysql.readthedocs.io/",
1616
},
17-
author='yutaka.matsubara',
18-
author_email='[email protected]',
19-
maintainer='INADA Naoki',
20-
maintainer_email='[email protected]',
2117
description='Pure Python MySQL Driver',
2218
long_description=readme,
23-
license="MIT",
24-
packages=find_packages(),
19+
packages=find_packages(exclude=['tests*', 'pymysql.tests*']),
2520
install_requires=[
2621
"cryptography",
2722
],

0 commit comments

Comments
 (0)