[Python-modules-commits] [python-measurement] 01/01: New upstream version 2.0.1

Michael Fladischer fladi at moszumanska.debian.org
Sat Jan 13 16:44:32 UTC 2018


This is an automated email from the git hooks/post-receive script.

fladi pushed a commit to branch upstream
in repository python-measurement.

commit ea64663fd524649a83fb7eb9e1e90c7f1ec1c48b
Author: Michael Fladischer <FladischerMichael at fladi.at>
Date:   Wed Jan 10 16:51:18 2018 +0100

    New upstream version 2.0.1
---
 .travis.yml                             | 21 ++++++++
 AUTHORS                                 | 14 +++++
 CONTRIBUTING.md                         | 14 +++++
 ChangeLog                               | 91 +++++++++++++++++++++++++++++++++
 LICENSE                                 | 21 ++++++++
 MANIFEST.in                             |  4 --
 PKG-INFO                                | 69 ++++++++++++++++++++++---
 readme.rst => README.rst                |  2 +-
 docs/topics/creating_your_own_class.rst |  2 +-
 docs/topics/measures.rst                |  2 +-
 measurement.egg-info/PKG-INFO           | 69 ++++++++++++++++++++++---
 measurement.egg-info/SOURCES.txt        | 10 +++-
 measurement.egg-info/not-zip-safe       |  1 +
 measurement.egg-info/pbr.json           |  2 +-
 measurement.egg-info/requires.txt       |  2 +-
 measurement.egg-info/top_level.txt      |  1 -
 measurement/base.py                     |  3 +-
 measurement/measures/distance.py        |  3 +-
 requirements.txt                        |  2 +-
 setup.cfg                               | 25 ++++++++-
 setup.py                                | 33 ++----------
 21 files changed, 334 insertions(+), 57 deletions(-)

diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..3f70fa7
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,21 @@
+language: python
+sudo: false
+python:
+- '2.7'
+- '3.5'
+- '3.6'
+- nightly
+matrix:
+  allow_failures:
+  - python: nightly
+install: pip install -e .
+script: pytest
+deploy:
+  provider: pypi
+  user: codingjoe
+  password:
+    secure: nYe/kosb8Yz/YuOfJHvw8ff0GsKTT2P5gRvvqBB/+8entr+UjtW3AuORbUvk3YmMLdzAzhl7xSeP3VfNnl9wZw9Mw0BGwjMo715YRAgLEGk2IGu7IamH0NY/JPi7H1XeASFmQJe0nbugbJjtmgIICCOhw/RoBrth5sV5tzwSl5I=
+  on:
+    tags: true
+    distributions: sdist bdist_wheel
+    repo: coddingtonbear/python-measurement
diff --git a/AUTHORS b/AUTHORS
new file mode 100644
index 0000000..60538a0
--- /dev/null
+++ b/AUTHORS
@@ -0,0 +1,14 @@
+Adam Coddington <adam.coddington at coxinc.com>
+Adam Coddington <me at adamcoddington.net>
+Benjamin Lee <benjamin_lee at college.harvard.edu>
+Bitdeli Chef <chef at bitdeli.com>
+Daniël van de Burgt <thatdutchguy at secretlymexico.com>
+Denis Cornehl <syphar at fastmail.fm>
+Edward Betts <edward at 4angle.com>
+Johannes Hoppe <info at johanneshoppe.com>
+Joseph Botros <jrbotros at gmail.com>
+Jörg Benesch <joerg.benesch at thermondo.de>
+Konstantin Schukraft <konstantin at schukraft.org>
+Luc MILLAND <luc at ptitluc.net>
+Marcos Gabriel Alcázar <marcos.alcazar at gmail.com>
+lucmilland <luc at ptitluc.net>
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
new file mode 100644
index 0000000..b11aeaf
--- /dev/null
+++ b/CONTRIBUTING.md
@@ -0,0 +1,14 @@
+# Contributing
+
+### Releases
+
+Please create new releases via GitHub's release functionality or using the
+GitHub CLI.
+
+```shell
+hub release create origin <version_number>
+```
+
+We follow [Semantic Versioning 2.0.0](https://semver.org/spec/v2.0.0.html).
+
+Make sure to add the changelog of each release into the release description.
diff --git a/ChangeLog b/ChangeLog
new file mode 100644
index 0000000..91f893e
--- /dev/null
+++ b/ChangeLog
@@ -0,0 +1,91 @@
+CHANGES
+=======
+
+2.0.1
+-----
+
+* Fix PyPi classifier
+
+2.0.0
+-----
+
+* Switch travis-ci badge to svg
+* Change changelog to GitHub release page
+* Support latest sympy version
+* Alias "in" to inch (#20)
+* Add pbr for automated releases
+* correct spelling mistake
+* Change supported Python version (#22)
+* Removing a now-obsolete command-line argument
+* Fixed typo in temperature example
+* Fixing unit setter for aliases
+
+1.8.0
+-----
+
+* Release 1.8.0; better SI-based naming
+* [#8] Changes preserving earlier names for backward-compatibility
+* Adopt tests to new units
+* Correct factor for electron volt
+* Added measures, renamed weight to mass
+
+1.7.3
+-----
+
+* Release 1.7.3; fixes out-of-date sympy requirement
+* Set an upper bound on the sympy requirement
+* fix sympy requirement
+* Minor grammatical error; pluralizing 'points'
+* #5: Updating documentation to add a reminder that 0 C and 0 F are non-zero
+* s/latestrevision/coddingtonbear/g
+* Minor alterations to capacitance/resistance classes to work around Python 2's limitations
+* Fixing capacitance measurement class
+* Bumping version number
+* Adding common electrical measurements
+* Updating readme
+* Adding license file
+* Bumping version number
+* Update measures.rst to reflect @022d494
+* Removing remant bitbucket links
+* Removing hg remnants
+* Updating readme to reflect the fact that Github is now the authoritative copy
+* Fixing units for Volumes
+* missing SI prefixes : forgot commas, oops
+* Adding missing "centi", "deci", "deca" and "hecto" SI prefixes
+* Add a Bitdeli badge to README
+* Updating travis.yml to check Python3.x as well
+* Added tag 1.5 for changeset 7d7f75eca12e
+
+1.5
+---
+
+* Adding Python3 support
+* Added tag 1.4 for changeset 44a04b8b93ef
+
+1.4
+---
+
+* Bumping version number
+* Updating readme to include short example of use
+* Removing 'instantiation\_unit' functionality
+* Updating documentation
+* Added tag 1.3.8 for changeset 2d506cc391af
+
+1.3.8
+-----
+
+* Use bidimensional measurement's standard value directly for equality comparisons
+* Fix MANIFEST.in to include rst readme rather than markdown
+* Added tag 1.3.7 for changeset 76b2b9da0fe9
+
+1.3.7
+-----
+
+* Fixing issue in which setting a value did not properly alter standard units
+* Added tag 1.3.5 for changeset 3b6bb9be1d2b
+
+1.3.5
+-----
+
+* Allow setting units on bidimensional units; handle changes in reference units
+* Added tag 1.3.4 for changeset d2663fae9a1b
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..79885eb
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,21 @@
+The MIT License (MIT)
+
+Copyright (c) 2014 Adam Coddington
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
diff --git a/MANIFEST.in b/MANIFEST.in
deleted file mode 100644
index 06403f7..0000000
--- a/MANIFEST.in
+++ /dev/null
@@ -1,4 +0,0 @@
-include readme.rst
-include requirements.txt
-recursive-include tests *
-recursive-include docs *
diff --git a/PKG-INFO b/PKG-INFO
index 4577430..939ab12 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,18 +1,75 @@
 Metadata-Version: 1.1
 Name: measurement
-Version: 1.8.0
+Version: 2.0.1
 Summary: Easily use and manipulate unit-aware measurements in Python
-Home-page: http://github.com/coddingtonbear/python-measurement/
+Home-page: http://github.com/coddingtonbear/python-measurement
 Author: Adam Coddington
 Author-email: me at adamcoddington.net
-License: UNKNOWN
-Description: UNKNOWN
+License: MIT License
+Description-Content-Type: UNKNOWN
+Description: .. image:: https://travis-ci.org/coddingtonbear/python-measurement.svg?branch=master
+           :target: https://travis-ci.org/coddingtonbear/python-measurement
+        
+        Easily use and manipulate unit-aware measurement objects in Python.
+        
+        `django.contrib.gis.measure <https://github.com/django/django/blob/master/django/contrib/gis/measure.py>`_
+        has these wonderful 'Distance' objects that can be used not only for storing a
+        unit-aware distance measurement, but also for converting between different
+        units and adding/subtracting these objects from one another.
+        
+        This module not only provides those Distance and Area measurement
+        objects, but also other measurements including:
+        
+        - Energy
+        - Speed
+        - Temperature
+        - Time
+        - Volume
+        - Weight
+        
+        Example:
+        
+        .. code-block:: python
+        
+           >>> from measurement.measures import Weight
+           >>> weight_1 = Weight(lb=125)
+           >>> weight_2 = Weight(kg=40)
+           >>> added_together = weight_1 + weight_2
+           >>> added_together
+           Weight(lb=213.184976807)
+           >>> added_together.kg  # Maybe I actually need this value in kg?
+           96.699
+        
+        .. warning::
+           Measurements are stored internally by converting them to a
+           floating-point number of a (generally) reasonable SI unit.  Given that 
+           floating-point numbers are very slightly lossy, you should be aware of
+           any inaccuracies that this might cause.
+        
+           TLDR: Do not use this in
+           `navigation algorithms guiding probes into the atmosphere of extraterrestrial worlds <http://en.wikipedia.org/wiki/Mars_Climate_Orbiter>`_.
+        
+        - Documentation for python-measurement is available an
+          `ReadTheDocs <http://python-measurement.readthedocs.org/>`_.
+        - Please post issues on
+          `Github <https://github.com/coddingtonbear/python-measurement/issues>`_.
+        - Test status available on
+          `Travis-CI <https://travis-ci.org/coddingtonbear/python-measurement>`_.
+        
+        
+        
+        .. image:: https://d2weczhvl823v0.cloudfront.net/coddingtonbear/python-measurement/trend.png
+           :alt: Bitdeli badge
+           :target: https://bitdeli.com/free
+        
+        
+Keywords: measurement
 Platform: UNKNOWN
+Classifier: Development Status :: 5 - Production/Stable
 Classifier: Intended Audience :: Developers
 Classifier: License :: OSI Approved :: MIT License
 Classifier: Operating System :: OS Independent
 Classifier: Programming Language :: Python
-Classifier: Programming Language :: Python :: 2.6
-Classifier: Programming Language :: Python :: 2.7
+Classifier: Programming Language :: Python :: 2
 Classifier: Programming Language :: Python :: 3
 Classifier: Topic :: Utilities
diff --git a/readme.rst b/README.rst
similarity index 98%
rename from readme.rst
rename to README.rst
index 8f6554b..5b35866 100644
--- a/readme.rst
+++ b/README.rst
@@ -1,4 +1,4 @@
-.. image:: https://travis-ci.org/coddingtonbear/python-measurement.png?branch=master
+.. image:: https://travis-ci.org/coddingtonbear/python-measurement.svg?branch=master
    :target: https://travis-ci.org/coddingtonbear/python-measurement
 
 Easily use and manipulate unit-aware measurement objects in Python.
diff --git a/docs/topics/creating_your_own_class.rst b/docs/topics/creating_your_own_class.rst
index d9abbf1..645fc21 100644
--- a/docs/topics/creating_your_own_class.rst
+++ b/docs/topics/creating_your_own_class.rst
@@ -76,7 +76,7 @@ your measure's standard unit and the unit you're defining:
    from sympy import S, Symbol
    from measurement.base import MeasureBase
 
-   class Tempoerature(MeasureBase):
+   class Temperature(MeasureBase):
        SU = Symbol('kelvin')
        STANDARD_UNIT = 'k'
        UNITS = {
diff --git a/docs/topics/measures.rst b/docs/topics/measures.rst
index de35053..7f04f40 100644
--- a/docs/topics/measures.rst
+++ b/docs/topics/measures.rst
@@ -44,7 +44,7 @@ Area
 ----
 
 * *Acceptable as Arguments or Attributes*: ``sq_Em``, ``sq_Gm``, ``sq_Mm``, ``sq_Pm``, ``sq_Tm``, ``sq_Ym``, ``sq_Zm``, ``sq_am``, ``sq_british_chain_benoit``, ``sq_british_chain_sears_truncated``, ``sq_british_chain_sears``, ``sq_british_ft``, ``sq_british_yd``, ``sq_chain_benoit``, ``sq_chain_sears``, ``sq_chain``, ``sq_clarke_ft``, ``sq_clarke_link``, ``sq_cm``, ``sq_dam``, ``sq_dm``, ``sq_fathom``, ``sq_fm``, ``sq_ft``, ``sq_german_m``, ``sq_gold_coast_ft``, ``sq_hm``, ``sq_inch``, ` [...]
-* *Acceptable as Arguments*: ``British chain (Benoit 1895 B)``, ``British chain (Sears 1922 truncated)``, ``British chain (Sears 1922)``, ``British foot (Sears 1922)``, ``British foot``, ``British yard (Sears 1922)``, ``British yard``, ``Chain (Benoit)``, ``Chain (Sears)``, ``Clarke's Foot``, ``Clarke's link``, ``Foot (International)``, ``German legal metre``, ``Gold Coast foot``, ``Indian yard``, ``Link (Benoit)``, ``Link (Sears)``, ``Nautical Mile (UK)``, ``Nautical Mile``, ``U.S. Foot [...]
+* *Acceptable as Arguments*: ``British chain (Benoit 1895 B)``, ``British chain (Sears 1922 truncated)``, ``British chain (Sears 1922)``, ``British foot (Sears 1922)``, ``British foot``, ``British yard (Sears 1922)``, ``British yard``, ``Chain (Benoit)``, ``Chain (Sears)``, ``Clarke's Foot``, ``Clarke's link``, ``Foot (International)``, ``German legal metre``, ``Gold Coast foot``, ``Indian yard``, ``Link (Benoit)``, ``Link (Sears)``, ``Nautical Mile (UK)``, ``Nautical Mile``, ``U.S. Foot [...]
 
 Distance
 --------
diff --git a/measurement.egg-info/PKG-INFO b/measurement.egg-info/PKG-INFO
index 4577430..939ab12 100644
--- a/measurement.egg-info/PKG-INFO
+++ b/measurement.egg-info/PKG-INFO
@@ -1,18 +1,75 @@
 Metadata-Version: 1.1
 Name: measurement
-Version: 1.8.0
+Version: 2.0.1
 Summary: Easily use and manipulate unit-aware measurements in Python
-Home-page: http://github.com/coddingtonbear/python-measurement/
+Home-page: http://github.com/coddingtonbear/python-measurement
 Author: Adam Coddington
 Author-email: me at adamcoddington.net
-License: UNKNOWN
-Description: UNKNOWN
+License: MIT License
+Description-Content-Type: UNKNOWN
+Description: .. image:: https://travis-ci.org/coddingtonbear/python-measurement.svg?branch=master
+           :target: https://travis-ci.org/coddingtonbear/python-measurement
+        
+        Easily use and manipulate unit-aware measurement objects in Python.
+        
+        `django.contrib.gis.measure <https://github.com/django/django/blob/master/django/contrib/gis/measure.py>`_
+        has these wonderful 'Distance' objects that can be used not only for storing a
+        unit-aware distance measurement, but also for converting between different
+        units and adding/subtracting these objects from one another.
+        
+        This module not only provides those Distance and Area measurement
+        objects, but also other measurements including:
+        
+        - Energy
+        - Speed
+        - Temperature
+        - Time
+        - Volume
+        - Weight
+        
+        Example:
+        
+        .. code-block:: python
+        
+           >>> from measurement.measures import Weight
+           >>> weight_1 = Weight(lb=125)
+           >>> weight_2 = Weight(kg=40)
+           >>> added_together = weight_1 + weight_2
+           >>> added_together
+           Weight(lb=213.184976807)
+           >>> added_together.kg  # Maybe I actually need this value in kg?
+           96.699
+        
+        .. warning::
+           Measurements are stored internally by converting them to a
+           floating-point number of a (generally) reasonable SI unit.  Given that 
+           floating-point numbers are very slightly lossy, you should be aware of
+           any inaccuracies that this might cause.
+        
+           TLDR: Do not use this in
+           `navigation algorithms guiding probes into the atmosphere of extraterrestrial worlds <http://en.wikipedia.org/wiki/Mars_Climate_Orbiter>`_.
+        
+        - Documentation for python-measurement is available an
+          `ReadTheDocs <http://python-measurement.readthedocs.org/>`_.
+        - Please post issues on
+          `Github <https://github.com/coddingtonbear/python-measurement/issues>`_.
+        - Test status available on
+          `Travis-CI <https://travis-ci.org/coddingtonbear/python-measurement>`_.
+        
+        
+        
+        .. image:: https://d2weczhvl823v0.cloudfront.net/coddingtonbear/python-measurement/trend.png
+           :alt: Bitdeli badge
+           :target: https://bitdeli.com/free
+        
+        
+Keywords: measurement
 Platform: UNKNOWN
+Classifier: Development Status :: 5 - Production/Stable
 Classifier: Intended Audience :: Developers
 Classifier: License :: OSI Approved :: MIT License
 Classifier: Operating System :: OS Independent
 Classifier: Programming Language :: Python
-Classifier: Programming Language :: Python :: 2.6
-Classifier: Programming Language :: Python :: 2.7
+Classifier: Programming Language :: Python :: 2
 Classifier: Programming Language :: Python :: 3
 Classifier: Topic :: Utilities
diff --git a/measurement.egg-info/SOURCES.txt b/measurement.egg-info/SOURCES.txt
index be6f370..61f68cd 100644
--- a/measurement.egg-info/SOURCES.txt
+++ b/measurement.egg-info/SOURCES.txt
@@ -1,6 +1,11 @@
-MANIFEST.in
-readme.rst
+.travis.yml
+AUTHORS
+CONTRIBUTING.md
+ChangeLog
+LICENSE
+README.rst
 requirements.txt
+setup.cfg
 setup.py
 docs/Makefile
 docs/conf.py
@@ -16,6 +21,7 @@ measurement/utils.py
 measurement.egg-info/PKG-INFO
 measurement.egg-info/SOURCES.txt
 measurement.egg-info/dependency_links.txt
+measurement.egg-info/not-zip-safe
 measurement.egg-info/pbr.json
 measurement.egg-info/requires.txt
 measurement.egg-info/top_level.txt
diff --git a/measurement.egg-info/not-zip-safe b/measurement.egg-info/not-zip-safe
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/measurement.egg-info/not-zip-safe
@@ -0,0 +1 @@
+
diff --git a/measurement.egg-info/pbr.json b/measurement.egg-info/pbr.json
index 77a932c..6067805 100644
--- a/measurement.egg-info/pbr.json
+++ b/measurement.egg-info/pbr.json
@@ -1 +1 @@
-{"is_release": false, "git_version": "ba7107a"}
\ No newline at end of file
+{"git_version": "3efdc3e", "is_release": false}
\ No newline at end of file
diff --git a/measurement.egg-info/requires.txt b/measurement.egg-info/requires.txt
index 0305f5c..74a0d95 100644
--- a/measurement.egg-info/requires.txt
+++ b/measurement.egg-info/requires.txt
@@ -1,2 +1,2 @@
 six>=1.0
-sympy>=0.7.3,<1.0.0
+sympy>=0.7.3
diff --git a/measurement.egg-info/top_level.txt b/measurement.egg-info/top_level.txt
index 3fae904..ffc3e77 100644
--- a/measurement.egg-info/top_level.txt
+++ b/measurement.egg-info/top_level.txt
@@ -1,2 +1 @@
 measurement
-tests
diff --git a/measurement/base.py b/measurement/base.py
index 6eb0318..a358e23 100644
--- a/measurement/base.py
+++ b/measurement/base.py
@@ -174,7 +174,7 @@ class MeasureBase(object):
         if value in self.UNITS:
             unit = value
         elif value in aliases:
-            unit = aliases[unit]
+            unit = aliases[value]
         elif value.lower() in units:
             unit = value.lower()
         elif value.lower() in laliases:
@@ -679,4 +679,3 @@ class BidimensionalMeasure(object):
 
     def __nonzero__(self):  # Python 2 compatibility
         return type(self).__bool__(self)
-
diff --git a/measurement/measures/distance.py b/measurement/measures/distance.py
index 10b98f2..c71426a 100644
--- a/measurement/measures/distance.py
+++ b/measurement/measures/distance.py
@@ -27,7 +27,7 @@
 # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #
 """
-Distance and Area objects to allow for sensible and convienient calculation
+Distance and Area objects to allow for sensible and convenient calculation
 and conversions.
 
 Authors: Robert Coup, Justin Bronn, Riccardo Di Virgilio
@@ -85,6 +85,7 @@ class Distance(MeasureBase):
     ALIAS = {
         'foot': 'ft',
         'inches': 'inch',
+        'in': 'inch',
         'meter': 'm',
         'metre': 'm',
         'mile': 'mi',
diff --git a/requirements.txt b/requirements.txt
index 0305f5c..74a0d95 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,2 +1,2 @@
 six>=1.0
-sympy>=0.7.3,<1.0.0
+sympy>=0.7.3
diff --git a/setup.cfg b/setup.cfg
index 861a9f5..1f92548 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,5 +1,28 @@
+[metadata]
+name = measurement
+author = Adam Coddington
+author-email = me at adamcoddington.net
+summary = Easily use and manipulate unit-aware measurements in Python
+description-file = README.rst
+home-page = http://github.com/coddingtonbear/python-measurement
+license = MIT License
+classifier = 
+	Development Status :: 5 - Production/Stable
+	Intended Audience :: Developers
+	License :: OSI Approved :: MIT License
+	Operating System :: OS Independent
+	Programming Language :: Python
+	Programming Language :: Python :: 2
+	Programming Language :: Python :: 3
+	Topic :: Utilities
+keywords = 
+	measurement
+
+[files]
+packages = 
+	measurement
+
 [egg_info]
 tag_build = 
 tag_date = 0
-tag_svn_revision = 0
 
diff --git a/setup.py b/setup.py
index ec69c2c..bd085f2 100644
--- a/setup.py
+++ b/setup.py
@@ -1,32 +1,9 @@
-import multiprocessing
+#!/usr/bin/env python
 
-from setuptools import setup, find_packages
-
-requirements = []
-with open('requirements.txt', 'r') as in_:
-    requirements = in_.readlines()
+from setuptools import setup
 
 setup(
-    name='measurement',
-    version='1.8.0',
-    url='http://github.com/coddingtonbear/python-measurement/',
-    description='Easily use and manipulate unit-aware measurements in Python',
-    author='Adam Coddington',
-    author_email='me at adamcoddington.net',
-    classifiers=[
-        'Intended Audience :: Developers',
-        'License :: OSI Approved :: MIT License',
-        'Operating System :: OS Independent',
-        'Programming Language :: Python',
-        'Programming Language :: Python :: 2.6',
-        'Programming Language :: Python :: 2.7',
-        'Programming Language :: Python :: 3',
-        'Topic :: Utilities',
-    ],
-    packages=find_packages(),
-    install_requires=requirements,
-    test_suite='nose.collector',
-    tests_require=[
-        'nose',
-    ]
+    setup_requires=['pbr'],
+    pbr=True,
 )
+

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-measurement.git



More information about the Python-modules-commits mailing list