diff --git a/setup.cfg b/setup.cfg index 1ad7343..da131d8 100644 --- a/setup.cfg +++ b/setup.cfg @@ -6,6 +6,7 @@ description-file = author = OpenStack author-email = openstack-discuss@lists.openstack.org home-page = https://docs.openstack.org/pymod2pkg/latest/ +python-requires = >=3.6 classifier = Programming Language :: Python :: 3 Programming Language :: Python :: 3.6 @@ -16,10 +17,6 @@ classifier = Topic :: Software Development :: Libraries Topic :: Utilities -[global] -setup-hooks = - pbr.hooks.setup_hook - [entry_points] console_scripts = pymod2pkg = pymod2pkg:main @@ -27,14 +24,3 @@ console_scripts = [files] packages = pymod2pkg - -[build_sphinx] -all_files = 1 -source-dir = doc/source -build-dir = doc/build - -[upload_sphinx] -upload-dir = doc/build/html - -[wheel] -universal = 1 diff --git a/setup.py b/setup.py index 566d844..cd35c3c 100644 --- a/setup.py +++ b/setup.py @@ -13,17 +13,8 @@ # See the License for the specific language governing permissions and # limitations under the License. -# THIS FILE IS MANAGED BY THE GLOBAL REQUIREMENTS REPO - DO NOT EDIT import setuptools -# In python < 2.7.4, a lazy loading of package `pbr` will break -# setuptools if some other modules registered functions in `atexit`. -# solution from: http://bugs.python.org/issue15881#msg170215 -try: - import multiprocessing # noqa -except ImportError: - pass - setuptools.setup( setup_requires=['pbr>=2.0.0'], pbr=True) diff --git a/test-requirements.txt b/test-requirements.txt index 1de0ae7..dcabff9 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -5,5 +5,5 @@ stestr>=2.0.0 # Apache-2.0 testresources>=2.0.0 # Apache-2.0/BSD testtools>=2.2.0 # MIT -sphinx!=1.6.6,!=1.6.7;python_version>='3.4' # BSD +sphinx>=1.6.1,!=1.6.6,!=1.6.7 # BSD openstackdocstheme>=1.18.1 # Apache-2.0