-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added CPack instructions to create installers
- Loading branch information
1 parent
afd403f
commit e4be536
Showing
7 changed files
with
145 additions
and
1 deletion.
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
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#! /bin/bash | ||
InstallDir=/usr/local/pyck/ | ||
export PYTHONPATH=$PYTHONPATH:$InstallDir | ||
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$InstallDir |
Binary file not shown.
Binary file not shown.
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 |
---|---|---|
@@ -0,0 +1,68 @@ | ||
<?xml version="1.0"?> | ||
|
||
<?include "cpack_variables.wxi"?> | ||
|
||
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> | ||
<Product Id="$(var.CPACK_WIX_PRODUCT_GUID)" | ||
Name="Pyck" | ||
Language="1033" | ||
Version="$(var.CPACK_PACKAGE_VERSION)" | ||
Manufacturer="$(var.CPACK_PACKAGE_VENDOR)" | ||
UpgradeCode="$(var.CPACK_WIX_UPGRADE_GUID)"> | ||
<Package InstallerVersion="301" Compressed="yes"/> | ||
<DirectoryRef Id="TARGETDIR"> | ||
</DirectoryRef> | ||
|
||
<Media Id="1" Cabinet="media1.cab" EmbedCab="yes"/> | ||
|
||
<MajorUpgrade | ||
Schedule="afterInstallInitialize" | ||
AllowSameVersionUpgrades="yes" | ||
DowngradeErrorMessage="A more recent version of Pyck is already installed. Setup will now exit."/> | ||
|
||
<WixVariable Id="WixUILicenseRtf" Value="$(var.CPACK_WIX_LICENSE_RTF)"/> | ||
<Property Id="WIXUI_INSTALLDIR" Value="INSTALL_ROOT"/> | ||
|
||
<?ifdef CPACK_WIX_PRODUCT_ICON?> | ||
<Property Id="ARPPRODUCTICON">ProductIcon.ico</Property> | ||
<Icon Id="ProductIcon.ico" SourceFile="$(var.CPACK_WIX_PRODUCT_ICON)"/> | ||
<?endif?> | ||
|
||
<?ifdef CPACK_WIX_UI_BANNER?> | ||
<WixVariable Id="WixUIBannerBmp" Value="$(var.CPACK_WIX_UI_BANNER)"/> | ||
<?endif?> | ||
|
||
<?ifdef CPACK_WIX_UI_DIALOG?> | ||
<WixVariable Id="WixUIDialogBmp" Value="$(var.CPACK_WIX_UI_DIALOG)"/> | ||
<?endif?> | ||
|
||
<FeatureRef Id="ProductFeature"/> | ||
|
||
<UIRef Id="WixUI_InstallDir" /> | ||
|
||
<DirectoryRef Id="TARGETDIR"> | ||
<Merge Id="VCRedist" SourceFile="$(env.CommonProgramFiles)\Merge Modules\Microsoft_VC140_CRT_x64.msm" DiskId="1" Language="0"/> | ||
<Merge Id="VCRedistCXX" SourceFile="$(env.CommonProgramFiles)\Merge Modules\Microsoft_VC140_CXXAMP_x64.msm" DiskId="1" Language="0"/> | ||
<Merge Id="VCRedistOPENMP" SourceFile="$(env.CommonProgramFiles)\Merge Modules\Microsoft_VC140_OpenMP_x64.msm" DiskId="1" Language="0"/> | ||
<Component Id="PythonPath" Guid="{5E6ED5FA-5F23-4D78-A6A7-E9CE03567196}"> | ||
<Environment Id="PYTHONPATH" Name="PYTHONPATH" Value="[INSTALL_ROOT]" Permanent="no" Part="last" Action="set" System="yes" /> | ||
</Component> | ||
</DirectoryRef> | ||
|
||
<Feature Id="VCRedist" Title="Visual C 2015 x64 Runtime" AllowAdvertise="no" Display="hidden" Level="1"> | ||
<MergeRef Id="VCRedist"/> | ||
</Feature> | ||
|
||
<Feature Id="VCRedistCXX" Title="Visual C++ 2015 x64 Runtime" AllowAdvertise="no" Display="hidden" Level="1"> | ||
<MergeRef Id="VCRedistCXX"/> | ||
</Feature> | ||
|
||
<Feature Id="VCRedistOPENMP" Title="Visual C++ OpenMP 2015 x64 Runtime" AllowAdvertise="no" Display="hidden" Level="1"> | ||
<MergeRef Id="VCRedistOPENMP"/> | ||
</Feature> | ||
|
||
<Feature Id="PythonPath" Level="1"> | ||
<ComponentRef Id="PythonPath"/> | ||
</Feature> | ||
</Product> | ||
</Wix> |
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright (c) 2016 Bruce Jones | ||
Copyright (c) 2016 MIT Geonumerics | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
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