Add top-level python directory to opensource repo

This adds a home in our opensource repo for python libraries and binaries,
under a top-level "python" directory.  Future CLs will relocate ICANN
reporting bits and pieces to new homes under this directory, and will use
the MOE configuration and python_directory_import rule defined here.

This approach is roughly modeled on the protobuf Bazel opensource project,
which also uses a top-level directory for various languages, and also uses
the "imports" parameter to exclude that directory in python module names:
  https://github.com/google/protobuf/blob/v3.0.0-beta-3/BUILD#L568
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=127459882
This commit is contained in:
nickfelt 2016-07-14 12:22:51 -07:00 committed by Ben McIlwain
parent 4ccc016e5c
commit eed319990a
16 changed files with 359 additions and 43 deletions

View file

@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<test xmlns="urn:ietf:params:xml:ns:fake">
<response>
<result code="1000">
<msg>Command completed successfully</msg>
</result>
<resData>
<green:creData xmlns:green="urn:ietf:params:xml:ns:color">
<green:name>example.tld</green:name>
<green:crDate>1999-04-03T22:00:00.0Z</green:crDate>
<green:exDate>2001-04-03T22:00:00.0Z</green:exDate>
</green:creData>
</resData>
<trID>
<clTRID>ABC-12345</clTRID>
<svTRID>server-trid</svTRID>
</trID>
</response>
</test>

View file

@ -0,0 +1,29 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<test xmlns="urn:ietf:params:xml:ns:fake">
<response>
<result code="1000">
<msg>Command completed successfully</msg>
</result>
<resData>
<red:creData xmlns:red="urn:ietf:params:xml:ns:color">
<red:name>example.tld</red:name>
<red:crDate>1999-04-03T22:00:00.0Z</red:crDate>
<red:exDate>2001-04-03T22:00:00.0Z</red:exDate>
</red:creData>
</resData>
<extension>
<fee:creData xmlns:fee="urn:ietf:params:xml:ns:fee">
<fee:currency>USD</fee:currency>
<fee:fee description="create">26.00</fee:fee>
</fee:creData>
<launch:creData xmlns:launch="urn:ietf:params:xml:ns:launch">
<launch:phase name="landrush">sunrise</launch:phase>
<launch:applicationID>1-TLD</launch:applicationID>
</launch:creData>
</extension>
<trID>
<clTRID>ABC-12345</clTRID>
<svTRID>server-trid</svTRID>
</trID>
</response>
</test>

View file

@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<test xmlns="urn:ietf:params:xml:ns:fake">
<response>
<result code="1000">
<msg>Command completed successfully</msg>
</result>
<resData>
<blue:creData xmlns:blue="urn:ietf:params:xml:ns:color">
<blue:name>example.tld</blue:name>
<blue:crDate>1999-04-03T22:00:00.0Z</blue:crDate>
<blue:exDate>2001-04-03T22:00:00.0Z</blue:exDate>
</blue:creData>
</resData>
<extension>
<fee:creData xmlns:fee="urn:ietf:params:xml:ns:fee">
<fee:currency>USD</fee:currency>
<fee:fee description="create">26.00</fee:fee>
</fee:creData>
<launch:creData xmlns:launch="urn:ietf:params:xml:ns:launch">
<launch:applicationID>2-TLD</launch:applicationID>
</launch:creData>
</extension>
<trID>
<clTRID>ABC-12345</clTRID>
<svTRID>server-trid</svTRID>
</trID>
</response>
</test>

View file

@ -0,0 +1,29 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<test xmlns="urn:ietf:params:xml:ns:fake">
<response>
<result code="1000">
<msg>Command completed successfully</msg>
</result>
<resData>
<orange:creData xmlns:orange="urn:ietf:params:xml:ns:color">
<orange:name>example.tld</orange:name>
<orange:crDate>1999-04-03T22:00:00.0Z</orange:crDate>
<orange:exDate>2001-04-03T22:00:00.0Z</orange:exDate>
</orange:creData>
</resData>
<extension>
<launch:creData xmlns:launch="urn:ietf:params:xml:ns:launch">
<launch:phase name="landrush">sunrise</launch:phase>
<launch:applicationID>1-TLD</launch:applicationID>
</launch:creData>
<fee:creData xmlns:fee="urn:ietf:params:xml:ns:fee">
<fee:currency>USD</fee:currency>
<fee:fee description="create">26.00</fee:fee>
</fee:creData>
</extension>
<trID>
<clTRID>ABC-12345</clTRID>
<svTRID>server-trid</svTRID>
</trID>
</response>
</test>