Skip to content
This repository has been archived by the owner on May 16, 2020. It is now read-only.

Commit

Permalink
Windows builds now possible | Resolves #2
Browse files Browse the repository at this point in the history
  • Loading branch information
tabeth committed May 29, 2018
1 parent 6d5f621 commit 349206b
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
xorigin.egg-info/
build
env
dist
25 changes: 22 additions & 3 deletions cxfreeze.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,35 @@
from cx_Freeze import setup, Executable
import sys

base = None


executables = [
Executable('xorigin/xorigin.py')
Executable(
script='xorigin/xorigin.py',
base=base,
icon=None
)
]

setup(name="xorigin",
build_exe_options = {
"packages": ["os", "yaml", "twisted.internet", "zope.interface", "pkg_resources._vendor", "idna"],
"excludes": [],
"includes": []
}

setup(
name="xorigin.exe",
version="0.1",
description="Easy to use, portable CORS reverse proxy",
url="https://github.com/experianplc/xorigin",
executables=executables,
author="Tabeth Nkangoh | Experian",
author_email="tabeth.nkangoh@experian.com",
license="MIT",
keywords=["Cross origin", "Reverse proxy", "CORS Server", "Server"])
packages=["xorigin"],
options={"build_exe": build_exe_options},
keywords=["Cross origin", "Reverse proxy", "CORS Server", "Server"],
)


23 changes: 23 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
asn1crypto==0.24.0
attrs==18.1.0
Automat==0.6.0
cffi==1.11.5
constantly==15.1.0
cryptography==2.2.2
cx-Freeze==5.1.1
enum34==1.1.6
hyperlink==18.0.0
idna==2.6
incremental==17.5.0
ipaddress==1.0.22
pyasn1==0.4.3
pyasn1-modules==0.2.1
pycparser==2.18
pyOpenSSL==18.0.0
PyYAML==3.12
service-identity==17.0.0
six==1.11.0
transaction==2.2.1
Twisted==18.4.0
virtualenv==16.0.0
zope.interface==4.5.0

0 comments on commit 349206b

Please sign in to comment.