|
12 | 12 | # See the License for the specific language governing permissions and
|
13 | 13 | # limitations under the License.
|
14 | 14 |
|
15 |
| -import os |
16 | 15 | import setuptools
|
17 | 16 |
|
18 |
| -setuptools.setup( |
19 |
| - name='testinfra', |
20 |
| - author='Philippe Pepiot', |
21 |
| - |
22 |
| - description='Test infrastructures', |
23 |
| - long_description=open(os.path.join( |
24 |
| - os.path.dirname(__file__), 'README.rst')).read(), |
25 |
| - url='https://github.com/philpep/testinfra', |
26 |
| - classifiers=[ |
27 |
| - 'Development Status :: 5 - Production/Stable', |
28 |
| - 'Environment :: Console', |
29 |
| - 'Intended Audience :: Developers', |
30 |
| - 'Intended Audience :: Information Technology', |
31 |
| - 'Intended Audience :: System Administrators', |
32 |
| - 'License :: OSI Approved :: Apache Software License', |
33 |
| - 'Operating System :: POSIX', |
34 |
| - 'Programming Language :: Python', |
35 |
| - 'Programming Language :: Python :: 3', |
36 |
| - 'Programming Language :: Python :: 3 :: Only', |
37 |
| - 'Programming Language :: Python :: 3.4', |
38 |
| - 'Programming Language :: Python :: 3.5', |
39 |
| - 'Programming Language :: Python :: 3.6', |
40 |
| - 'Programming Language :: Python :: 3.7', |
41 |
| - 'Programming Language :: Python :: 3.8', |
42 |
| - 'Topic :: Software Development :: Testing', |
43 |
| - 'Topic :: System :: Systems Administration', |
44 |
| - 'Framework :: Pytest', |
45 |
| - ], |
46 |
| - packages=setuptools.find_packages(), |
47 |
| - entry_points={ |
48 |
| - 'pytest11': { |
49 |
| - 'pytest11.testinfra=testinfra.plugin', |
50 |
| - }, |
51 |
| - }, |
52 |
| - python_requires='>=3.4', |
53 |
| - setup_requires=['setuptools_scm'], |
54 |
| - use_scm_version=True, |
55 |
| - install_requires=[ |
56 |
| - 'pytest!=3.0.2', |
57 |
| - ], |
58 |
| -) |
| 17 | +if __name__ == '__main__': |
| 18 | + setuptools.setup(use_scm_version=True, setup_requires=["setuptools_scm"]) |
0 commit comments