Skip to content

Commit 53a2bcd

Browse files
committed
PEP-517 compliance, e.g. pip install .
1 parent f11d325 commit 53a2bcd

3 files changed

Lines changed: 29 additions & 15 deletions

File tree

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
#!/usr/bin/env python
2-
31
# Copyright (c) 2011, Thomas Paviot (tpaviot@gmail.com)
2+
# Copyright (c) 2014, Christopher HORLER (cshorler@googlemail.com)
3+
# Copyright (c) 2021, Devon Sparks (devonsparks.com)
4+
45
# All rights reserved.
56

6-
# This file is part StepClassLibrary (SCL).
7+
# This file is part of the StepClassLibrary (SCL).
78
#
89
# Redistribution and use in source and binary forms, with or without
910
# modification, are permitted provided that the following conditions are met:
@@ -29,15 +30,4 @@
2930
# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
3031
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
3132
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
32-
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33-
34-
from distutils.core import setup
35-
36-
setup(name='SCL',
37-
version='0.5',
38-
description='Python STEP Class Library',
39-
author='Thomas Paviot',
40-
author_email='tpaviot@gmail.com',
41-
url='https://github.com/mpictor/StepClassLibrary',
42-
packages=['SCL'],
43-
)
33+
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[build-system]
2+
requires = [
3+
"setuptools>=42",
4+
"wheel"
5+
]
6+
build-backend = "setuptools.build_meta"

src/exp2python/python/setup.cfg

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
[metadata]
2+
name = SCL
3+
version = 0.6.1
4+
author = Thomas Paviot <tpaviot@gmail.com>, Christopher HORLER (cshorler@googlemail.com), Devon Sparks (devonsparks.com)
5+
description = SCL is a Python3-based library for parsing and manipulating ISO 10303 Part 21 ("STEP") files.
6+
url = https://github.com/stepcode/stepcode
7+
project_urls =
8+
Bug Tracker = https://github.com/stepcode/stepcode/issues
9+
classifiers =
10+
Programming Language :: Python :: 3
11+
12+
[options]
13+
package_dir =
14+
=.
15+
packages=find:
16+
python_requires = >=3.6
17+
install_requires =
18+
ply

0 commit comments

Comments
 (0)