Skip to content

Commit

Permalink
Move to pyproject,toml
Browse files Browse the repository at this point in the history
  • Loading branch information
revarbat committed Jan 26, 2024
1 parent 7a502c6 commit df9d4e6
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 45 deletions.
49 changes: 49 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
[build-system]
requires = [
"setuptools>=61.0",
"wheel"
]
build-backend = "setuptools.build_meta"

[project]
name = "openscad_runner"
version = "1.1.1"
authors = [
{ name="Revar Desmera", email="revarbat@gmail.com" },
]
maintainers = [
{ name="Revar Desmera", email="revarbat@gmail.com" },
]
description = "A Python library to interface with the OpenSCAD app."
readme = "README.rst"
requires-python = ">=3.7"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Manufacturing",
"License :: OSI Approved :: MIT License",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Programming Language :: Python :: 3",
"Topic :: Artistic Software",
"Topic :: Multimedia :: Graphics :: 3D Modeling",
"Topic :: Multimedia :: Graphics :: 3D Rendering",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
]
keywords = ["openscad", "interface"]
dependencies = [
"Pillow>=7.2.0",
"pygifsicle>=1.0.2",
"apng>=0.3.4"
]

[project.urls]
"Homepage" = "https://github.com/revarbat/openscad_runner"
"Repository" = "https://github.com/revarbat/openscad_runner"
"Bug Tracker" = "https://github.com/revarbat/openscad_runner/issues"
"Releases" = "https://github.com/revarbat/openscad_runner/releases"
"Usage" = "https://github.com/revarbat/openscad_runner/README.rst"
"Documentation" = "https://github.com/revarbat/openscad_runner/README.rst"
48 changes: 3 additions & 45 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,50 +1,8 @@
#!/usr/bin/env python

from setuptools import setup
import setuptools

VERSION = "1.1.1"
if __name__ == "__main__":
setuptools.setup()


with open('README.rst') as f:
LONG_DESCR = f.read()

data_files = []

setup(
name='openscad_runner',
version=VERSION,
description='A Python library to interface with the OpenSCAD app.',
long_description=LONG_DESCR,
long_description_content_type='text/x-rst',
author='Revar Desmera',
author_email='revarbat@gmail.com',
url='https://github.com/revarbat/openscad_runner',
download_url='https://github.com/revarbat/openscad_runner/archive/v{}.zip'.format(VERSION),
packages=['openscad_runner'],
license='MIT License',
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: Manufacturing',
'License :: OSI Approved :: MIT License',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'Programming Language :: Python :: 3',
'Topic :: Artistic Software',
'Topic :: Multimedia :: Graphics :: 3D Modeling',
'Topic :: Multimedia :: Graphics :: 3D Rendering',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules',
],
keywords='openscad interface',
install_requires=[
'setuptools',
'Pillow>=7.2.0',
'pygifsicle>=1.0.2',
'apng>=0.3.4'
],
data_files=data_files,
)

0 comments on commit df9d4e6

Please sign in to comment.