This repository has been archived by the owner on Nov 28, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
62 lines (58 loc) · 2.14 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
from setuptools import find_packages
from setuptools import setup
import os.path
def read(*rnames):
"""Read a file from a path."""
with open(os.path.join(os.curdir, *rnames)) as f:
return f.read()
setup(
name='gocept.country',
version='3.1.dev0',
author='gocept gmbh & co. kg',
author_email='[email protected]',
description='Zope 3 sources for pycountry databases',
long_description='\n\n'.join([
read('COPYRIGHT.txt'),
read('README.rst'),
read('src', 'gocept', 'country', 'README.txt'),
read('CHANGES.rst')]),
license='ZPL 2.1',
keywords='country subdivision language currency iso 3166 639 4217 '
'15924 3166-2 zope pycountry',
zip_safe=False,
namespace_packages=['gocept'],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved',
'License :: OSI Approved :: Zope Public License',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Natural Language :: English',
'Operating System :: OS Independent',
'Topic :: Internet :: WWW/HTTP',
],
url='https://github.com/gocept/gocept.country',
packages=find_packages('src'),
include_package_data=True,
package_dir={'': 'src'},
python_requires='>=3.7',
install_requires=['setuptools',
'pycountry >= 16.0',
'zope.i18nmessageid',
'zc.sourcefactory>=0.3.3',
'zope.deferredimport'],
extras_require=dict(
test=['zope.testing',
'zope.app.wsgi[testlayer]',
'zope.security',
'zope.schema'])
)