Skip to content

Commit

Permalink
Issue #119: cleanup for py2exe target
Browse files Browse the repository at this point in the history
  • Loading branch information
kpdyer committed Mar 18, 2014
1 parent 60d64bf commit 4191e91
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
5 changes: 0 additions & 5 deletions README.md
Expand Up @@ -42,11 +42,6 @@ make
./bin/fteproxy
```

Cross-compile
-------------
```gcc-mingw32```
```python-dev```

Documentation
-------------

Expand Down
10 changes: 3 additions & 7 deletions setup.py
Expand Up @@ -49,22 +49,18 @@
libraries=libraries,
sources=['fte/rank_unrank.cc', 'fte/cDFA.cc'])

if sys.argv[1]=='py2exe':
ext_modules = []
else:
ext_modules = [fte_cDFA]

setup(name='fteproxy',
console=['./bin/fteproxy'],
zipfile="fteproxy.zip",
options={"py2exe": {
"optimize": 2,
"includes": ["twisted", "pyptlib", "obfsproxy", "Crypto"],
}
},
version=FTEPROXY_RELEASE,
description='programmable proxy for censorship circumvention',
description='fteproxy',
author='Kevin P. Dyer',
author_email='kpdyer@gmail.com',
url='https://github.com/kpdyer/fteproxy',
ext_modules=ext_modules,
ext_modules=[fte_cDFA],
)

0 comments on commit 4191e91

Please sign in to comment.