[tor-bugs] #6810 [Flashproxy]: Reduce code duplication across client programs

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Sep 26 18:56:19 UTC 2013


#6810: Reduce code duplication across client programs
-----------------------------+--------------------------
     Reporter:  dcf          |      Owner:  dcf
         Type:  enhancement  |     Status:  needs_review
     Priority:  minor        |  Milestone:
    Component:  Flashproxy   |    Version:
   Resolution:               |   Keywords:
Actual Points:               |  Parent ID:
       Points:               |
-----------------------------+--------------------------

Comment (by dcf):

 Replying to [comment:18 infinity0]:
 > I have some code. Haven't tested py2exe yet but fixing it (on any broken
 branches) would be a small tweak:
 >
 > flashproxy/ in top-level, two "setup.py" scripts in same dir:
 > https://github.com/infinity0/flashproxy/compare/master...common-toplevel

 I like this one the best. obfsproxy also has both `setup.py` and
 `setup_py2exe.py`--we could use the same names.

 > common/flashproxy with instructions on running from source checkout:
 > https://github.com/infinity0/flashproxy/compare/master...common-sub

 This one is acceptable too. I'll let you make the decision.

 Aside: I think I will stick with setting `PYTHONPATH`. At a first (and
 second) glance, this setuptools develop mode seems unpredictable. You're
 supposed to do something as root just so you can run code in a directory
 you own? If you have two separate source directories, one of them will
 mysteriously fail until you realize it's using modules hardlinked from the
 other?

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/6810#comment:19>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list