File tree Expand file tree Collapse file tree 8 files changed +13
-31
lines changed
Expand file tree Collapse file tree 8 files changed +13
-31
lines changed Original file line number Diff line number Diff line change 88.settings
99.idea
1010. * cache /
11+ _version.py
12+ MANIFEST
Original file line number Diff line number Diff line change 11include CHANGES.txt
22include quantities/constants/NIST_codata.txt
3+ exclude conda.recipe
Original file line number Diff line number Diff line change @@ -65,11 +65,8 @@ http://docs.scipy.org/doc/numpy/user/install.html
6565
6666To install quantities itself, then simply run::
6767
68- $ python setup.py install --user
68+ $ pip install quantities
6969
70- If you install it system-wide, you may need to prefix the previous command with ``sudo ``::
71-
72- $ sudo python setup.py install
7370
7471Tests
7572-----
Original file line number Diff line number Diff line change 2222
2323about :
2424 license : BSD
25- home : http ://pythonhosted.org// quantities/
25+ home : https ://github.com/python-quantities/python- quantities/
2626 summary : Physical quantities with units, based upon Numpy
Original file line number Diff line number Diff line change @@ -5,7 +5,4 @@ Quantities development uses the principles of test-driven development. New
55features or bug fixes need to be accompanied by unit tests based on Python's
66unittest package. Unit tests can be run with the following::
77
8- python setup.py test
9-
10- This works with the version of unittest provided by the python-2.7 and
11- python-3.2+ standard library.
8+ pytest
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ Sphinx extension. Sphinx-0.6.3 or later is required. You can obtain
1313Sphinx and numpydoc from the `Python Package Index `_ or
1414by doing::
1515
16- easy_install sphinx
16+ pip install sphinx
1717
1818.. _Sphinx : http://sphinx.pocoo.org/
1919.. _numpydoc : http://pypi.python.org/pypi/numpydoc
@@ -37,7 +37,7 @@ Organization of Quantities' documentation
3737==========================================
3838
3939The actual ReStructured Text files are kept in :file: `doc `. The main
40- entry point is :file: `doc/index.rst `, which pulls in the
40+ entry point is :file: `doc/index.rst `, which pulls in the
4141:file: `index.rst ` file for the user guide and the developers guide.
4242The documentation suite is built as a single document in order to
4343make the most effective use of cross referencing, we want to make
@@ -314,4 +314,3 @@ Some helpful functions::
314314 C-c C-r rst-shift-region-right
315315
316316 Shift region to the right
317-
Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ Creating Source Releases
88Quantities is distributed as a source release for Linux and Mac OS. To create a
99source release, just do::
1010
11- python setup.py register
12- python setup.py sdist --formats=zip,gztar
11+ pip install build
12+ python -m build
1313 twine upload dist/quantities-<x.y.z>.*
1414
1515(replacing `x `, `y ` and `z ` appropriately).
@@ -23,24 +23,11 @@ like::
2323
2424You can create a source distribution without uploading by doing::
2525
26- python setup.py sdist
26+ python -m build -- sdist
2727
2828This creates a source distribution in the `dist/ ` directory.
2929
3030
31- Creating Windows Installers
32- ===========================
33-
34- We distribute binary installers for the windows platform. In order to build the
35- windows installer, open a DOS window, cd into the quantities source directory
36- and run::
37-
38- python setup.py build
39- python setup.py bdist_msi
40-
41- This creates the executable windows installer in the `dist/ ` directory.
42-
43-
4431Building Quantities documentation
4532=================================
4633
Original file line number Diff line number Diff line change @@ -17,9 +17,8 @@ Quantities has a few dependencies:
1717Source Code Installation
1818========================
1919
20- To install Quantities, download the Quantites sourcecode from PyPI _
21- and run "python setup.py install" in the quantities source directory,
22- or run "pip install quantities".
20+ To install Quantities, run "pip install quantities".
21+
2322
2423Development
2524===========
You can’t perform that action at this time.
0 commit comments