[PATCH] python/osmo-python-tests[master]: Use setuptools for packaging

2017-12-15 Thread Max

Review at  https://gerrit.osmocom.org/5405

Use setuptools for packaging

According to https://docs.python.org/3/library/distutils.html the
setuptools are used in place of distutils anyway. Using it directly
allows us to make packaging more flexible: specify dependencies,
automatically find package name etc.

Change-Id: Id0e035ea0535ba529a75f5c8c5aad5279354d985
---
M osmopy/__init__.py
M setup.py
2 files changed, 3 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/python/osmo-python-tests 
refs/changes/05/5405/1

diff --git a/osmopy/__init__.py b/osmopy/__init__.py
index b760111..3fd197f 100644
--- a/osmopy/__init__.py
+++ b/osmopy/__init__.py
@@ -1,5 +1,5 @@
 #!/usr/bin/env python
-__version__ = '0.0.2'
+__version__ = '0.0.3'
 
 __all__ = ['obscvty',  'osmodumpdoc',  'osmotestconfig',  'osmotestvty',
'osmoutil',
diff --git a/setup.py b/setup.py
index 3e147c4..993c2b3 100755
--- a/setup.py
+++ b/setup.py
@@ -15,7 +15,7 @@
 # You should have received a copy of the GNU Affero General Public License
 # along with this program.  If not, see .
 
-from distutils.core import setup
+from setuptools import setup, find_packages
 from osmopy import __version__
 import sys
 
@@ -35,7 +35,7 @@
 setup(
 name = 'osmopython',
 version = __version__,
-packages = ["osmopy"],
+packages = find_packages(),
 scripts = scripts,
 license = "AGPLv3",
 description = "Osmopython: osmocom testing scripts",

-- 
To view, visit https://gerrit.osmocom.org/5405
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id0e035ea0535ba529a75f5c8c5aad5279354d985
Gerrit-PatchSet: 1
Gerrit-Project: python/osmo-python-tests
Gerrit-Branch: master
Gerrit-Owner: Max 


[PATCH] python/osmo-python-tests[master]: Use setuptools for packaging

2017-12-15 Thread Max
Hello Pau Espin Pedrol, Harald Welte,

I'd like you to reexamine a change.  Please visit

https://gerrit.osmocom.org/5279

to look at the new patch set (#6).

Use setuptools for packaging

According to https://docs.python.org/3/library/distutils.html the
setuptools are used in place of distutils anyway. Using it directly
allows us to make packaging more flexible: specify dependencies,
automatically find package name etc.

Change-Id: I39ee53f352001e47c6df055cbec52d638480253d
---
M osmopy/__init__.py
M setup.py
2 files changed, 3 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/python/osmo-python-tests 
refs/changes/79/5279/6

diff --git a/osmopy/__init__.py b/osmopy/__init__.py
index b760111..3fd197f 100644
--- a/osmopy/__init__.py
+++ b/osmopy/__init__.py
@@ -1,5 +1,5 @@
 #!/usr/bin/env python
-__version__ = '0.0.2'
+__version__ = '0.0.3'
 
 __all__ = ['obscvty',  'osmodumpdoc',  'osmotestconfig',  'osmotestvty',
'osmoutil',
diff --git a/setup.py b/setup.py
index 3e147c4..993c2b3 100755
--- a/setup.py
+++ b/setup.py
@@ -15,7 +15,7 @@
 # You should have received a copy of the GNU Affero General Public License
 # along with this program.  If not, see .
 
-from distutils.core import setup
+from setuptools import setup, find_packages
 from osmopy import __version__
 import sys
 
@@ -35,7 +35,7 @@
 setup(
 name = 'osmopython',
 version = __version__,
-packages = ["osmopy"],
+packages = find_packages(),
 scripts = scripts,
 license = "AGPLv3",
 description = "Osmopython: osmocom testing scripts",

-- 
To view, visit https://gerrit.osmocom.org/5279
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I39ee53f352001e47c6df055cbec52d638480253d
Gerrit-PatchSet: 6
Gerrit-Project: python/osmo-python-tests
Gerrit-Branch: master
Gerrit-Owner: Max 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Max 
Gerrit-Reviewer: Pau Espin Pedrol 


[PATCH] python/osmo-python-tests[master]: Use setuptools for packaging

2017-12-15 Thread Max
Hello Pau Espin Pedrol, Harald Welte,

I'd like you to reexamine a change.  Please visit

https://gerrit.osmocom.org/5279

to look at the new patch set (#5).

Use setuptools for packaging

According to https://docs.python.org/3/library/distutils.html the
setuptools are used in place of distutils anyway. Using it directly
allows us to make packaging more flexible: specify dependencies,
automatically find package name etc.

Change-Id: I39ee53f352001e47c6df055cbec52d638480253d
---
M osmopy/__init__.py
M setup.py
2 files changed, 3 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/python/osmo-python-tests 
refs/changes/79/5279/5

diff --git a/osmopy/__init__.py b/osmopy/__init__.py
index b760111..3fd197f 100644
--- a/osmopy/__init__.py
+++ b/osmopy/__init__.py
@@ -1,5 +1,5 @@
 #!/usr/bin/env python
-__version__ = '0.0.2'
+__version__ = '0.0.3'
 
 __all__ = ['obscvty',  'osmodumpdoc',  'osmotestconfig',  'osmotestvty',
'osmoutil',
diff --git a/setup.py b/setup.py
index 3e147c4..993c2b3 100755
--- a/setup.py
+++ b/setup.py
@@ -15,7 +15,7 @@
 # You should have received a copy of the GNU Affero General Public License
 # along with this program.  If not, see .
 
-from distutils.core import setup
+from setuptools import setup, find_packages
 from osmopy import __version__
 import sys
 
@@ -35,7 +35,7 @@
 setup(
 name = 'osmopython',
 version = __version__,
-packages = ["osmopy"],
+packages = find_packages(),
 scripts = scripts,
 license = "AGPLv3",
 description = "Osmopython: osmocom testing scripts",

-- 
To view, visit https://gerrit.osmocom.org/5279
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I39ee53f352001e47c6df055cbec52d638480253d
Gerrit-PatchSet: 5
Gerrit-Project: python/osmo-python-tests
Gerrit-Branch: master
Gerrit-Owner: Max 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Max 
Gerrit-Reviewer: Pau Espin Pedrol 


[PATCH] python/osmo-python-tests[master]: Use setuptools for packaging

2017-12-15 Thread Max
Hello Pau Espin Pedrol, Harald Welte,

I'd like you to reexamine a change.  Please visit

https://gerrit.osmocom.org/5279

to look at the new patch set (#4).

Use setuptools for packaging

According to https://docs.python.org/3/library/distutils.html the
setuptools are used in place of distutils anyway. Using it directly
allows us to make packaging more flexible: specify dependencies,
automatically find package name etc.

Change-Id: I39ee53f352001e47c6df055cbec52d638480253d
---
M osmopy/__init__.py
M setup.py
2 files changed, 3 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/python/osmo-python-tests 
refs/changes/79/5279/4

diff --git a/osmopy/__init__.py b/osmopy/__init__.py
index b760111..3fd197f 100644
--- a/osmopy/__init__.py
+++ b/osmopy/__init__.py
@@ -1,5 +1,5 @@
 #!/usr/bin/env python
-__version__ = '0.0.2'
+__version__ = '0.0.3'
 
 __all__ = ['obscvty',  'osmodumpdoc',  'osmotestconfig',  'osmotestvty',
'osmoutil',
diff --git a/setup.py b/setup.py
index 3e147c4..993c2b3 100755
--- a/setup.py
+++ b/setup.py
@@ -15,7 +15,7 @@
 # You should have received a copy of the GNU Affero General Public License
 # along with this program.  If not, see .
 
-from distutils.core import setup
+from setuptools import setup, find_packages
 from osmopy import __version__
 import sys
 
@@ -35,7 +35,7 @@
 setup(
 name = 'osmopython',
 version = __version__,
-packages = ["osmopy"],
+packages = find_packages(),
 scripts = scripts,
 license = "AGPLv3",
 description = "Osmopython: osmocom testing scripts",

-- 
To view, visit https://gerrit.osmocom.org/5279
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I39ee53f352001e47c6df055cbec52d638480253d
Gerrit-PatchSet: 4
Gerrit-Project: python/osmo-python-tests
Gerrit-Branch: master
Gerrit-Owner: Max 
Gerrit-Reviewer: Harald Welte 
Gerrit-Reviewer: Max 
Gerrit-Reviewer: Pau Espin Pedrol 


[PATCH] python/osmo-python-tests[master]: Use setuptools for packaging

2017-12-15 Thread Max
Hello Pau Espin Pedrol,

I'd like you to reexamine a change.  Please visit

https://gerrit.osmocom.org/5279

to look at the new patch set (#3).

Use setuptools for packaging

According to https://docs.python.org/3/library/distutils.html the
setuptools are used in place of distutils anyway. Using it directly
allows us to make packaging more flexible: specify dependencies,
automatically find package name etc.

Change-Id: I39ee53f352001e47c6df055cbec52d638480253d
---
M osmopy/__init__.py
M setup.py
2 files changed, 3 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/python/osmo-python-tests 
refs/changes/79/5279/3

diff --git a/osmopy/__init__.py b/osmopy/__init__.py
index b760111..3fd197f 100644
--- a/osmopy/__init__.py
+++ b/osmopy/__init__.py
@@ -1,5 +1,5 @@
 #!/usr/bin/env python
-__version__ = '0.0.2'
+__version__ = '0.0.3'
 
 __all__ = ['obscvty',  'osmodumpdoc',  'osmotestconfig',  'osmotestvty',
'osmoutil',
diff --git a/setup.py b/setup.py
index 3e147c4..993c2b3 100755
--- a/setup.py
+++ b/setup.py
@@ -15,7 +15,7 @@
 # You should have received a copy of the GNU Affero General Public License
 # along with this program.  If not, see .
 
-from distutils.core import setup
+from setuptools import setup, find_packages
 from osmopy import __version__
 import sys
 
@@ -35,7 +35,7 @@
 setup(
 name = 'osmopython',
 version = __version__,
-packages = ["osmopy"],
+packages = find_packages(),
 scripts = scripts,
 license = "AGPLv3",
 description = "Osmopython: osmocom testing scripts",

-- 
To view, visit https://gerrit.osmocom.org/5279
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I39ee53f352001e47c6df055cbec52d638480253d
Gerrit-PatchSet: 3
Gerrit-Project: python/osmo-python-tests
Gerrit-Branch: master
Gerrit-Owner: Max 
Gerrit-Reviewer: Max 
Gerrit-Reviewer: Pau Espin Pedrol 


[PATCH] python/osmo-python-tests[master]: Use setuptools for packaging

2017-12-15 Thread Max
Hello Pau Espin Pedrol,

I'd like you to reexamine a change.  Please visit

https://gerrit.osmocom.org/5279

to look at the new patch set (#2).

Use setuptools for packaging

According to https://docs.python.org/3/library/distutils.html the
setuptools are used in place of distutils anyway. Using it directly
allows us to make packaging more flexible: specify dependencies,
automatically fin package name etc.

Change-Id: I39ee53f352001e47c6df055cbec52d638480253d
---
M osmopy/__init__.py
M setup.py
2 files changed, 3 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/python/osmo-python-tests 
refs/changes/79/5279/2

diff --git a/osmopy/__init__.py b/osmopy/__init__.py
index b760111..3fd197f 100644
--- a/osmopy/__init__.py
+++ b/osmopy/__init__.py
@@ -1,5 +1,5 @@
 #!/usr/bin/env python
-__version__ = '0.0.2'
+__version__ = '0.0.3'
 
 __all__ = ['obscvty',  'osmodumpdoc',  'osmotestconfig',  'osmotestvty',
'osmoutil',
diff --git a/setup.py b/setup.py
index 3e147c4..993c2b3 100755
--- a/setup.py
+++ b/setup.py
@@ -15,7 +15,7 @@
 # You should have received a copy of the GNU Affero General Public License
 # along with this program.  If not, see .
 
-from distutils.core import setup
+from setuptools import setup, find_packages
 from osmopy import __version__
 import sys
 
@@ -35,7 +35,7 @@
 setup(
 name = 'osmopython',
 version = __version__,
-packages = ["osmopy"],
+packages = find_packages(),
 scripts = scripts,
 license = "AGPLv3",
 description = "Osmopython: osmocom testing scripts",

-- 
To view, visit https://gerrit.osmocom.org/5279
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I39ee53f352001e47c6df055cbec52d638480253d
Gerrit-PatchSet: 2
Gerrit-Project: python/osmo-python-tests
Gerrit-Branch: master
Gerrit-Owner: Max 
Gerrit-Reviewer: Max 
Gerrit-Reviewer: Pau Espin Pedrol 


[PATCH] python/osmo-python-tests[master]: Use setuptools for packaging

2017-12-11 Thread Max

Review at  https://gerrit.osmocom.org/5279

Use setuptools for packaging

According to https://docs.python.org/3/library/distutils.html the
setuptools are used in place of distutils anyway. Using it directly
allows us to make packaging more flexible: specify dependencies,
automatically fin package name etc.

Change-Id: I39ee53f352001e47c6df055cbec52d638480253d
---
M osmopy/__init__.py
M setup.py
2 files changed, 3 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/python/osmo-python-tests 
refs/changes/79/5279/1

diff --git a/osmopy/__init__.py b/osmopy/__init__.py
index 20a21c9..c94d70b 100644
--- a/osmopy/__init__.py
+++ b/osmopy/__init__.py
@@ -1,4 +1,4 @@
 #!/usr/bin/env python
-__version__ = '0.0.3'
+__version__ = '0.0.4'
 
 __all__ = ['obscvty', 'osmoutil', 'osmo_ipa', 'osmo_ctrl']
diff --git a/setup.py b/setup.py
index 76886ae..533272e 100755
--- a/setup.py
+++ b/setup.py
@@ -15,7 +15,7 @@
 # You should have received a copy of the GNU Affero General Public License
 # along with this program.  If not, see .
 
-from distutils.core import setup
+from setuptools import setup, find_packages
 from osmopy import __version__
 import sys
 
@@ -33,7 +33,7 @@
 setup(
 name = 'osmopython',
 version = __version__,
-packages = ["osmopy"],
+packages = find_packages(),
 scripts = scripts,
 license = "AGPLv3",
 description = "Osmopython: osmocom testing scripts",

-- 
To view, visit https://gerrit.osmocom.org/5279
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I39ee53f352001e47c6df055cbec52d638480253d
Gerrit-PatchSet: 1
Gerrit-Project: python/osmo-python-tests
Gerrit-Branch: master
Gerrit-Owner: Max