diff --git a/.travis.yml b/.travis.yml index 629b7f3f..cc1859f0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,5 @@ language: python python: - - "2.7" - - "3.6" - "3.7" install: diff --git a/accelerate/pyproject.toml b/accelerate/pyproject.toml index 55b1289b..1f43f238 100644 --- a/accelerate/pyproject.toml +++ b/accelerate/pyproject.toml @@ -1,3 +1,30 @@ [build-system] -requires = [ "setuptools >= 42.0", "Cython >= 0.28", "numpy" ] +requires = [ "setuptools >= 61.0", "Cython >= 0.28", "numpy" ] build-backend = "setuptools.build_meta" + +[project] +name = "PyOpenGL-accelerate" +description = "Acceleration code for PyOpenGL" +authors = [ { name = "Mike C. Fletcher", email = "mcfletch@vrplumber.com" } ] +urls.homepage = "http://pyopengl.sourceforge.net" +license = { text = "BSD" } +readme = { file = "README.txt", content-type = "text/plain" } +keywords = [ "PyOpenGL", "accelerate", "Cython" ] +classifiers = [ + "License :: OSI Approved :: BSD License", + "Programming Language :: Python", + "Programming Language :: Python :: 3", + "Programming Language :: C", + "Topic :: Software Development :: Libraries :: Python Modules", + "Topic :: Multimedia :: Graphics :: 3D Rendering", + "Intended Audience :: Developers", +] + +dynamic = [ "version" ] + +[tool.setuptools] +packages = [ "OpenGL_accelerate" ] +platforms = [ "Win32", "Linux", "OS-X", "Posix" ] + +[tool.setuptools.dynamic] +version = { attr = "OpenGL_accelerate.__init__.__version__" } diff --git a/accelerate/setup.cfg b/accelerate/setup.cfg deleted file mode 100644 index a009bca7..00000000 --- a/accelerate/setup.cfg +++ /dev/null @@ -1,24 +0,0 @@ -[metadata] -name = PyOpenGL-accelerate -version = attr: OpenGL_accelerate.__init__.__version__ -description = Acceleration code for PyOpenGL -author = Mike C. Fletcher -author_email = mcfletch@vrplumber.com -url = http://pyopengl.sourceforge.net -download_url = http://sourceforge.net/project/showfiles.php?group_id=5988 -license = BSD -long_description = file: README.txt -long_description_content_type = text/plain -keywords = PyOpenGL, accelerate, Cython -platforms = Win32, Linux, OS-X, Posix -classifiers = - License :: OSI Approved :: BSD License - Programming Language :: Python - Programming Language :: Python :: 3 - Programming Language :: C - Topic :: Software Development :: Libraries :: Python Modules - Topic :: Multimedia :: Graphics :: 3D Rendering - Intended Audience :: Developers - -[options] -packages = OpenGL_accelerate diff --git a/appveyor.yml b/appveyor.yml index f2f43858..ee4a89df 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -35,14 +35,6 @@ environment: # Older Python's that can be built with the default windows images... - - PYTHON: "C:\\Python36" - PYTHON_VERSION: "3.6.4" - PYTHON_ARCH: "32" - - - PYTHON: "C:\\Python36-x64" - PYTHON_VERSION: "3.6.4" - PYTHON_ARCH: "64" - - PYTHON: "C:\\Python37" PYTHON_VERSION: "3.7.0" PYTHON_ARCH: "32" @@ -59,22 +51,6 @@ environment: PYTHON_VERSION: "3.8.0" PYTHON_ARCH: "64" - - PYTHON: "C:\\Python27" - PYTHON_VERSION: "2.7.14" - PYTHON_ARCH: "32" - - - PYTHON: "C:\\Python27-x64" - PYTHON_VERSION: "2.7.14" - PYTHON_ARCH: "64" - - - PYTHON: "C:\\Python35" - PYTHON_VERSION: "3.5.3" - PYTHON_ARCH: "32" - - - PYTHON: "C:\\Python35-x64" - PYTHON_VERSION: "3.5.3" - PYTHON_ARCH: "64" - branches: only: - master diff --git a/pyproject.toml b/pyproject.toml index 6e7fc85e..78b1f9d2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,43 @@ [build-system] -requires = [ "setuptools >= 42.0" ] +requires = [ "setuptools >= 61.0" ] build-backend = "setuptools.build_meta" +[project] +name = "PyOpenGL" +description = "Standard OpenGL bindings for Python" +authors = [ { name = "Mike C. Fletcher", email = "mcfletch@vrplumber.com" } ] +urls.homepage = "http://pyopengl.sourceforge.net" +license = { text = "BSD" } +readme = "readme.rst" +keywords = [ + "Graphics", + "3D", + "OpenGL", + "GLU", + "GLUT", + "GLE", + "GLX", + "EXT", + "ARB", + "Mesa", + "ctypes", +] +classifiers = [ + "License :: OSI Approved :: BSD License", + "Programming Language :: Python", + "Programming Language :: Python :: 3", + "Topic :: Multimedia :: Graphics :: 3D Rendering", + "Topic :: Software Development :: Libraries :: Python Modules", + "Intended Audience :: Developers", +] + +dynamic = [ "version" ] + +[tool.setuptools.packages] +find = { include = [ "OpenGL*" ], namespaces = false } + +[tool.setuptools.dynamic] +version = { attr = "OpenGL.version.__version__" } + [tool.black] skip-string-normalization=true diff --git a/setup.cfg b/setup.cfg deleted file mode 100644 index 6fe3e154..00000000 --- a/setup.cfg +++ /dev/null @@ -1,26 +0,0 @@ -[metadata] -name = PyOpenGL -version = attr: OpenGL.version.__version__ -description = Standard OpenGL bindings for Python -author = Mike C. Fletcher -author_email = mcfletch@vrplumber.com -url = http://pyopengl.sourceforge.net -download_url = https://pypi.org/project/PyOpenGL/ -license = BSD -long_description = file: readme.rst -long_description_content_type = text/x-rst -keywords = Graphics, 3D, OpenGL, GLU, GLUT, GLE, GLX, EXT, ARB, Mesa, ctypes -classifiers = - License :: OSI Approved :: BSD License - Programming Language :: Python - Programming Language :: Python :: 2 - Programming Language :: Python :: 3 - Topic :: Multimedia :: Graphics :: 3D Rendering - Topic :: Software Development :: Libraries :: Python Modules - Intended Audience :: Developers - -[options] -packages = find: - -[options.packages.find] -include = OpenGL*