Python packaging framework
Generic instructions at: https://packaging.python.org/tutorials/packaging-projects/
This commit is contained in:
parent
9ef8cf27ea
commit
60d2e786fb
20
docs/about.md
Normal file
20
docs/about.md
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
# About this edition
|
||||||
|
|
||||||
|
This is an "ERPS" edition of SamsPy - Simple aerospace models in Py.
|
||||||
|
The original is located at https://github.com/kwan0xfff/SamsPy
|
||||||
|
The objective of this edition will be to focus
|
||||||
|
on needs more closely related to ERPS.
|
||||||
|
Broader SamsPy development continues on the Github version.
|
||||||
|
|
||||||
|
## Recommended Python version
|
||||||
|
|
||||||
|
The recommended minimum Python version is 3.5.
|
||||||
|
Among the interesting features added in 3.5:
|
||||||
|
* type hints - annotation that supports code correctness.
|
||||||
|
* "@" infix operator - intended for use with matrix multiplication.
|
||||||
|
|
||||||
|
## Software license
|
||||||
|
|
||||||
|
Like the version on Github, this edition is licensed under Apache 2.0.
|
||||||
|
This is to allow code to flow from one to the other
|
||||||
|
without legal encumbrance.
|
1
samspy_erps/__init__.pkg
Normal file
1
samspy_erps/__init__.pkg
Normal file
@ -0,0 +1 @@
|
|||||||
|
name = "samspy_erps"
|
30
setup.py
Normal file
30
setup.py
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
"""SamsPy-ERPS - Simple Aerospace Models in Python -- ERPS edition
|
||||||
|
|
||||||
|
Based loosely on:
|
||||||
|
https://github.com/kwan0xfff/SamsPy.git
|
||||||
|
"""
|
||||||
|
import setuptools
|
||||||
|
|
||||||
|
with open('README.md', 'r') as fh:
|
||||||
|
long_description = fh.read()
|
||||||
|
|
||||||
|
setuptools.setup(
|
||||||
|
name='samspy_erps',
|
||||||
|
version='0.0.1',
|
||||||
|
author='Rick Kwan',
|
||||||
|
author_email='kwan0xfff@gmail.com',
|
||||||
|
description='Simple Aerospace Models in Python -- ERPS edition',
|
||||||
|
long_description=long_description,
|
||||||
|
long_description_content_type='text/markdown',
|
||||||
|
url='http://dev.erps.org:3000/rocketscirick/SamsPy-ERPS.git',
|
||||||
|
packages=setuptools.find_packages(),
|
||||||
|
classifiers=(
|
||||||
|
'Development Status :: 2 - Pre-Alpha',
|
||||||
|
'Intended Audience :: Science/Research',
|
||||||
|
'Topic :: Scientific/Engineering',
|
||||||
|
'Programming Language :: Python :: 3',
|
||||||
|
'Programming Language :: Python :: 3.5',
|
||||||
|
'License :: OSI Approved :: Apache Software License',
|
||||||
|
'Operating System :: OS Independent',
|
||||||
|
),
|
||||||
|
)
|
Loading…
x
Reference in New Issue
Block a user