Browse Source

Python packaging framework

Generic instructions at:
  https://packaging.python.org/tutorials/packaging-projects/
master
R. J. Dev. Kwan 6 years ago
parent
commit
60d2e786fb
3 changed files with 51 additions and 0 deletions
  1. +20
    -0
      docs/about.md
  2. +1
    -0
      samspy_erps/__init__.pkg
  3. +30
    -0
      setup.py

+ 20
- 0
docs/about.md View 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
- 0
samspy_erps/__init__.pkg View File

@ -0,0 +1 @@
name = "samspy_erps"

+ 30
- 0
setup.py View 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…
Cancel
Save