-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updating build instructions on README.md
- Loading branch information
1 parent
eebaf0d
commit cd2d391
Showing
1 changed file
with
34 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,56 @@ | ||
Python Extension Module for TN3270 Acess | ||
======================================== | ||
## Python Extension Module for TN3270 Access | ||
|
||
## Installation | ||
|
||
Linux Installation repositories | ||
=============================== | ||
### Linux | ||
|
||
You can find instalation repositories in SUSE Build Service: | ||
For the supported distributions get the install repositories and instructions from https://software.opensuse.org/download.html?project=home%3APerryWerneck%3Apw3270&package=python3-tn3270 | ||
|
||
* Linux (Many distributions): https://build.opensuse.org/package/show/home:PerryWerneck:pw3270/python-tn3270 | ||
### Windows | ||
|
||
Installation package for windows is not available yet. | ||
|
||
Building the windows version With MSVC & Python SetupTools | ||
========================================================== | ||
## Building from sources | ||
|
||
### Linux | ||
|
||
TODO | ||
|
||
### Windows (With MSVC & Python SetupTools) | ||
|
||
1. Install pw3270 with remote control and sdk modules | ||
|
||
2. Build and install the "glue" library | ||
2. Build and install the "glue" library using the MSVC Native tools command prompt as administrator. | ||
|
||
* Open a MSVC Native tools command prompt as administrator. | ||
* git clone https://github.com/PerryWerneck/libipc3270.git ./ipc3270 | ||
* cd ipc3270 | ||
* install.bat | ||
```shell | ||
git clone https://github.com/PerryWerneck/libipc3270.git ./ipc3270 | ||
cd ipc3270 | ||
install.bat | ||
``` | ||
|
||
3. Get python-tn3270 sources from git | ||
|
||
* Open a MSVC Native tools command prompt. | ||
* git clone https://github.com/PerryWerneck/python-tn3270.git ./python-tn3270 | ||
```shell | ||
git clone https://github.com/PerryWerneck/python-tn3270.git ./python-tn3270 | ||
``` | ||
|
||
6. Build the extension using setup.py | ||
|
||
* cd python-tn3270 | ||
* python setup.py build | ||
```shell | ||
cd python-tn3270 | ||
python setup.py build | ||
``` | ||
|
||
7. Install extension | ||
|
||
* python setup.py install | ||
```shell | ||
python setup.py install | ||
``` | ||
|
||
8. Build windows installer (optional) | ||
|
||
* python setup.py bdist_wininst | ||
```shell | ||
python setup.py bdist_wininst | ||
``` | ||
|
||
|