Преглед изворни кода

improved setup

tags/v1.0.0
Robin Thoni пре 7 година
родитељ
комит
452bb63a3b
3 измењених фајлова са 54 додато и 2 уклоњено
  1. 0
    0
      certbot-pdns.json
  2. 5
    0
      setup.cfg
  3. 49
    2
      setup.py

config.example.json → certbot-pdns.json Прегледај датотеку


+ 5
- 0
setup.cfg Прегледај датотеку

@@ -0,0 +1,5 @@
1
+[bdist_wheel]
2
+# This flag says that the code is written to work on both Python 2 and Python
3
+# 3. If at all possible, it is good practice to do this. If you cannot, you
4
+# will need to generate wheels for each Python version that you support.
5
+universal=1

+ 49
- 2
setup.py Прегледај датотеку

@@ -1,23 +1,70 @@
1 1
 #! /usr/bin/env python
2
-
2
+from os import path
3 3
 from setuptools import setup
4 4
 from setuptools import find_packages
5 5
 
6
+from certbot_pdns.authenticator import Authenticator
7
+
6 8
 install_requires = [
7 9
     'acme',
8 10
     'certbot',
9 11
     'zope.interface',
10 12
 ]
11 13
 
14
+here = path.abspath(path.dirname(__file__))
15
+
12 16
 setup(
13 17
     name='certbot-pdns',
18
+    version="1.0.0",
19
+
14 20
     description="Certbot DNS authenticator",
21
+    long_description=Authenticator.MORE_INFO,
22
+
15 23
     url='https://git.rthoni.com/robin.thoni/certbot-pdns',
16 24
     author="Robin Thoni",
17 25
     author_email='robin@rthoni.com',
26
+
18 27
     license='MIT',
19
-    install_requires=install_requires,
28
+
29
+    classifiers=[
30
+        # How mature is this project? Common values are
31
+        #   3 - Alpha
32
+        #   4 - Beta
33
+        #   5 - Production/Stable
34
+        'Development Status :: 5 - Production/Stable',
35
+
36
+        # Indicate who your project is intended for
37
+        'Intended Audience :: System Administrators',
38
+        'Topic :: Internet :: Name Service (DNS)',
39
+
40
+        # Pick your license as you wish (should match "license" above)
41
+        'License :: OSI Approved :: MIT License',
42
+
43
+        # Specify the Python versions you support here. In particular, ensure
44
+        # that you indicate whether you support Python 2, Python 3 or both.
45
+        'Programming Language :: Python :: 2',
46
+        'Programming Language :: Python :: 2.7',
47
+        'Programming Language :: Python :: 3',
48
+        'Programming Language :: Python :: 3.3',
49
+        'Programming Language :: Python :: 3.4',
50
+        'Programming Language :: Python :: 3.5',
51
+    ],
52
+
53
+    keywords="certbot authenticator plugin dns pdns powerdns api",
54
+
20 55
     packages=find_packages(),
56
+    install_requires=install_requires,
57
+
58
+    extras_require={
59
+        'dev': [],
60
+        'test': [],
61
+    },
62
+
63
+    package_data={
64
+    },
65
+
66
+    data_files=[('/etc/letsencrypt/', ['certbot-pdns.json'])],
67
+
21 68
     entry_points={
22 69
         'certbot.plugins': [
23 70
             'auth = certbot_pdns.authenticator:Authenticator',

Loading…
Откажи
Сачувај