Skip to content

Commit 1a03a8e

Browse files
committed
get rid of old files and stick to the new styles
1 parent 1a96a4b commit 1a03a8e

File tree

2 files changed

+38
-31
lines changed

2 files changed

+38
-31
lines changed

setup.cfg

Lines changed: 35 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,36 @@
1-
[nosetests]
2-
with-doctest=1
1+
[metadata]
2+
author = "Thomas Grainger"
3+
author_email = [email protected]
4+
classifiers =
5+
Programming Language :: Python :: 3 :: Only
6+
Programming Language :: Python :: 3.6
7+
Programming Language :: Python :: 3.7
8+
Programming Language :: Python :: 3.8
9+
Programming Language :: Python :: 3.9
10+
license = GNU Library or Lesser General Public License (LGPL)
11+
name = clamd
12+
description = "Clamd is a python interface to Clamd (Clamav daemon)."
13+
long_description = file:README.md
14+
long_description_content_type = text/markdown
15+
keywords = python, clamav, antivirus, scanner, virus, libclamav, clamd
16+
project_urls =
17+
Source Code = https://github.com/graingert/python-clamd
18+
Change Log = https://github.com/graingert/python-clamd/blob/master/CHANGES.rst
19+
url = https://github.com/graingert/python-clamd
20+
version = 1.0.3.dev0
321

4-
[wheel]
5-
universal=1
22+
[options]
23+
include_package_data = False
24+
zip_safe = True
25+
package_dir =
26+
=src
27+
packages = find:
28+
python_requires = >=3.6
29+
30+
[options.packages.find]
31+
where=src
32+
exclude =
33+
src.tests
34+
35+
[bdist_wheel]
36+
universal = 1

setup.py

Lines changed: 3 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,4 @@
1-
#!/usr/bin/env python
2-
from ez_setup import use_setuptools
3-
use_setuptools()
1+
#!/usr/bin/env python3
2+
from setuptools import setup
43

5-
from setuptools import setup, find_packages
6-
7-
readme = open('README.rst').read()
8-
history = open('CHANGES.rst').read().replace('.. :changelog:', '')
9-
10-
setup(
11-
name="clamd",
12-
version='1.0.3.dev0',
13-
author="Thomas Grainger",
14-
author_email="[email protected]",
15-
maintainer="Thomas Grainger",
16-
maintainer_email = "[email protected]",
17-
keywords = "python, clamav, antivirus, scanner, virus, libclamav, clamd",
18-
description = "Clamd is a python interface to Clamd (Clamav daemon).",
19-
long_description=readme + '\n\n' + history,
20-
url="https://github.com/graingert/python-clamd",
21-
package_dir={'': 'src'},
22-
packages=find_packages('src', exclude="tests"),
23-
classifiers = [
24-
"License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)",
25-
],
26-
zip_safe=True,
27-
include_package_data=False,
28-
)
4+
setup()

0 commit comments

Comments
 (0)