If you don’t want to use build the docs, just
Install extra packages (for Documentation)¶
Install additional python packages
pip install Sphinx pip install alabaster pip install numpydoc
Installation From Source¶
pyNastran is meant to an easy package to install once you have the required Python modules. It’s a pure Python package so you shouldn’t have too many problems.
- Installing from source is recommened if:
You want the most recent version (see installation.rst-master)
You want easier access to the source
You’re on an air-gapped machine
Install Python (see installation_release)
pip install pyNastranstep
Install Sphinx, GraphViz, alabaster (for documentation)
Clone pyNastran-master from Github
There are two ways to install the master/dev version of pyNastran
Download the most recent zip version
Clone pyNastran (see below). Using Git allows you to easily update to the latest dev version when you want to as well as push any commits of your own.
If you don’t want the gui, use
setup_no_gui.py instead of
>>> python setup.py install
>>> python setup_no_gui.py install
Cloning pyNastran using TortoiseGit¶
Right-click in a folder and select
Enter the above information. If desired, click the branch box and and enter a branch name
Cloning pyNastran Using Command Line¶
Checkout/clone the dev code by typing (preferred):
>>> git clone https://github.com/SteveDoyle2/pynastran
To checkout a branch
>>> git.exe clone --branch 1.3 --progress -v "https://github.com/SteveDoyle2/pyNastran.git" "C:\\work\\pyNastran_1.3"
pyNastran/docs_sphinx directory on the command line.
>>> make html