Skip to content

Commit

Permalink
Updating build instructions on README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
PerryWerneck committed Jul 3, 2020
1 parent eebaf0d commit cd2d391
Showing 1 changed file with 34 additions and 19 deletions.
53 changes: 34 additions & 19 deletions README.md
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
```


0 comments on commit cd2d391

Please sign in to comment.