Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
protobuf
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
protobuf
Commits
11de4197
Commit
11de4197
authored
Jan 13, 2015
by
Tres Seaver
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'python-update_setup' into straddle_py2_py3
parents
c0f673d0
e17f78bb
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
37 deletions
+32
-37
MANIFEST.in
python/MANIFEST.in
+14
-0
setup.py
python/setup.py
+18
-37
No files found.
python/MANIFEST.in
0 → 100644
View file @
11de4197
prune google/protobuf/internal/import_test_package
exclude google/protobuf/internal/*_pb2.py
exclude google/protobuf/internal/*_test.py
exclude google/protobuf/internal/*.proto
exclude google/protobuf/internal/test_util.py
recursive-exclude google *_test.py
recursive-exclude google *_test.proto
recursive-exclude google unittest*_pb2.py
global-exclude *.dll
global-exclude *.pyc
global-exclude *.pyo
global-exclude *.so
python/setup.py
View file @
11de4197
...
...
@@ -8,12 +8,12 @@ import subprocess
# We must use setuptools, not distutils, because we need to use the
# namespace_packages option for the "google" package.
try
:
from
setuptools
import
setup
,
Extension
from
setuptools
import
setup
,
Extension
,
find_packages
except
ImportError
:
try
:
from
ez_setup
import
use_setuptools
use_setuptools
()
from
setuptools
import
setup
,
Extension
from
setuptools
import
setup
,
Extension
,
find_packages
except
ImportError
:
sys
.
stderr
.
write
(
"Could not import setuptools; make sure you have setuptools or "
...
...
@@ -157,45 +157,26 @@ if __name__ == '__main__':
setup
(
name
=
'protobuf'
,
version
=
'3.0.0-pre'
,
packages
=
[
'google'
],
description
=
'Protocol Buffers'
,
long_description
=
"Protocol Buffers are Google's data interchange format."
,
url
=
'https://developers.google.com/protocol-buffers/'
,
maintainer
=
maintainer_email
,
maintainer_email
=
'protobuf@googlegroups.com'
,
license
=
'New BSD License'
,
classifiers
=
[
"Programming Language :: Python :: 2"
,
"Programming Language :: Python :: 2.6"
,
"Programming Language :: Python :: 2.7"
,
],
namespace_packages
=
[
'google'
],
packages
=
find_packages
(
exclude
=
[
"import_test_package"
,
]),
test_suite
=
'setup.MakeTestSuite'
,
google_test_dir
=
"google/protobuf/internal"
,
# Must list modules explicitly so that we don't install tests.
py_modules
=
[
'google.protobuf.internal.api_implementation'
,
'google.protobuf.internal.containers'
,
'google.protobuf.internal.cpp_message'
,
'google.protobuf.internal.decoder'
,
'google.protobuf.internal.encoder'
,
'google.protobuf.internal.enum_type_wrapper'
,
'google.protobuf.internal.message_listener'
,
'google.protobuf.internal.python_message'
,
'google.protobuf.internal.type_checkers'
,
'google.protobuf.internal.wire_format'
,
'google.protobuf.descriptor'
,
'google.protobuf.descriptor_pb2'
,
'google.protobuf.compiler.plugin_pb2'
,
'google.protobuf.message'
,
'google.protobuf.descriptor_database'
,
'google.protobuf.descriptor_pool'
,
'google.protobuf.message_factory'
,
'google.protobuf.proto_builder'
,
'google.protobuf.pyext.cpp_message'
,
'google.protobuf.reflection'
,
'google.protobuf.service'
,
'google.protobuf.service_reflection'
,
'google.protobuf.symbol_database'
,
'google.protobuf.text_encoding'
,
'google.protobuf.text_format'
],
cmdclass
=
{
'clean'
:
clean
,
'build_py'
:
build_py
},
install_requires
=
[
'setuptools'
,
'six'
],
ext_modules
=
ext_module_list
,
url
=
'https://developers.google.com/protocol-buffers/'
,
maintainer
=
maintainer_email
,
maintainer_email
=
'protobuf@googlegroups.com'
,
license
=
'New BSD License'
,
description
=
'Protocol Buffers'
,
long_description
=
"Protocol Buffers are Google's data interchange format."
,
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment