Skip to content

Commit b85f586

Browse files
committed
rename project
1 parent 784af86 commit b85f586

28 files changed

+100
-99
lines changed

.github/ISSUE_TEMPLATE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
* trust_pypi_example version:
1+
* rust_pypi_example version:
22
* Python version:
33
* Operating System:
44

.travis.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ sudo: required
1010
env:
1111
global:
1212
# TODO Update this to match the name of your project.
13-
- CRATE_NAME=trust_pypi_example
13+
- CRATE_NAME=rust_pypi_example
1414
# Rust release. E.g. Stable, nightly, nightly-2014-12-18
1515
- RUSTRELEASE=stable
1616
- RUSTCOMPILER=RUSTUP
@@ -124,7 +124,7 @@ deploy:
124124
secure: gw5UUxAkCTOWQCcRqavrsjPNxGHDqZr1tej0Y6GzKq6DMDxcvAH36lHdP596eRUfIs20ZZcaUz9+y1DBL8cFleghLBMKHnjH9AMx5p5SMRxItkuERRE5zCsAASEf7W5z5bzR9PWoUsLXbQdR9eTaWn2JYHU00MC5RmPfH8+NAItP2xCjTX/JFqg/pXPHc0uKz5ijwDaFASF/+1zDaqHrU4SdS47o/17jQsmMOwYUMn4htfHWYFnB6dktrTlPeiCFV1qA4HntnVnm6Bls2J7THPkyZmHE1GnGTLhKhqlL/IUAHdRzQuPvcEpWwsgmwjgWbz8ccBdDVOh4n4KBRGxM+NlY0H3VZICRCI/r8aT/3M7FX5tQp5s1Cl8IDD7SHRcu6EsJKjubmntX/7/GFrMvEiIx342bA8ohFklAeZftlnaf9JSdZqvAj0NKi7K96B7BfajGEhFkd02GlC0/2uQGlZI4MajDcYd2cHB/qUvIKbRVXzkV1nFiwHD3g6PGCvFYYK+F+PCacPiz17ANuETaQgGJ6WpRV+zwTAlmmAWaAcUBdBkYkUamaQNtjIXvZCqqe0P0AX38bYJG+qXsLRL+TceZ3P0Pn8iaBkgn7VmRLq1jMio5zf6eIHQU6BENXsI1+3an2O1nLgB1TfatukMyIoORezWfQliTrkLnaP1Pmz8=
125125
on:
126126
tags: true
127-
repo: mckaymatt/trust_pypi_example
127+
repo: mckaymatt/rust_pypi_example
128128
# condition: $TOXENV == py27
129129
- provider: releases
130130
# TODO update `api_key.secure`
@@ -134,7 +134,7 @@ deploy:
134134
api_key:
135135
secure: "K4ttQbVILc4kq90ZiHOydhIwm09zHxfwUMnxwnBGMkAFdRL8oSjfXNd0O1Q/OA5XUVaFkp9Uluc6oy3AywOyjsLLu9xRm1qpgxMIak0nKGVQ8fzMrFILcTU3mXsOFX6VEfLqIR0bbmV31p//0Ytn6lH5PdOPe8Jm9AGHSIlrv0+Adzn01CZGgTZFi55p4hrzlP7zQhPliJFhtVd8dYga65t4aubEK7ZVQ030Z1pida/IaMyWQwbD63h1DrmyFBdnTl1gnk0fluWCeVnXQHgld0/P4QKZCPnPcVpn1eOdhju7L9r8Tc+AVirvv5jkCLFBtFDAinTkv2LUu8RsSKgD5Jzg8oYVXdebCpeXQ7f+3JoqyunF8NncHc4dszylNRGuJeMpFy5QTYqPkPDNQczMY9GMbsshzlDp8rKPGMPXpwwh+EeiKijm77eVZJ4UqSmoAt9yLe+Dq8I7ZB1GPUHBaVAlesWvCJ9FfzvDXbD0Piv85Wb0BCAOLuYouCtPeSaD69DeS+Y1rzEt5tSwWx3s8uTV7WPEVlROjlW2TB1ELIUQBETCw/yqEkfVm25XrQSpVlzaHxfh7RuEVyi5/Aj/q/yjeHeJYU+qN53FWWNKazeZJUeqwyDwx3Cjx09ACzKEfcmvcZiwv2mGZxhHqM3VARWvvpDDVcOmh9vQhErZzic="
136136
file_glob: true
137-
file: wheelhouse/trust_pypi_example*.whl
137+
file: wheelhouse/rust_pypi_example*.whl
138138
# file: $CRATE_NAME-$TRAVIS_TAG-$TARGET.*
139139
on:
140140
# TODO Here you can pick which targets will generate binary releases

CONTRIBUTING.rst

+12-12
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Types of Contributions
1515
Report Bugs
1616
~~~~~~~~~~~
1717

18-
Report bugs at https://github.com/mckaymatt/trust_pypi_example/issues.
18+
Report bugs at https://github.com/mckaymatt/rust_pypi_example/issues.
1919

2020
If you are reporting a bug, please include:
2121

@@ -38,14 +38,14 @@ and "help wanted" is open to whoever wants to implement it.
3838
Write Documentation
3939
~~~~~~~~~~~~~~~~~~~
4040

41-
trust_pypi_example could always use more documentation, whether as part of the
42-
official trust_pypi_example docs, in docstrings, or even on the web in blog posts,
41+
rust_pypi_example could always use more documentation, whether as part of the
42+
official rust_pypi_example docs, in docstrings, or even on the web in blog posts,
4343
articles, and such.
4444

4545
Submit Feedback
4646
~~~~~~~~~~~~~~~
4747

48-
The best way to send feedback is to file an issue at https://github.com/mckaymatt/trust_pypi_example/issues.
48+
The best way to send feedback is to file an issue at https://github.com/mckaymatt/rust_pypi_example/issues.
4949

5050
If you are proposing a feature:
5151

@@ -57,17 +57,17 @@ If you are proposing a feature:
5757
Get Started!
5858
------------
5959

60-
Ready to contribute? Here's how to set up `trust_pypi_example` for local development.
60+
Ready to contribute? Here's how to set up `rust_pypi_example` for local development.
6161

62-
1. Fork the `trust_pypi_example` repo on GitHub.
62+
1. Fork the `rust_pypi_example` repo on GitHub.
6363
2. Clone your fork locally::
6464

65-
$ git clone [email protected]:your_name_here/trust_pypi_example.git
65+
$ git clone [email protected]:your_name_here/rust_pypi_example.git
6666

6767
3. Install your local copy into a virtualenv. Assuming you have virtualenvwrapper installed, this is how you set up your fork for local development::
6868

69-
$ mkvirtualenv trust_pypi_example
70-
$ cd trust_pypi_example/
69+
$ mkvirtualenv rust_pypi_example
70+
$ cd rust_pypi_example/
7171
$ python setup.py develop
7272

7373
4. Create a branch for local development::
@@ -78,7 +78,7 @@ Ready to contribute? Here's how to set up `trust_pypi_example` for local develop
7878

7979
5. When you're done making changes, check that your changes pass flake8 and the tests, including testing other Python versions with tox::
8080

81-
$ flake8 trust_pypi_example tests
81+
$ flake8 rust_pypi_example tests
8282
$ python setup.py test or py.test
8383
$ tox
8484

@@ -102,13 +102,13 @@ Before you submit a pull request, check that it meets these guidelines:
102102
your new functionality into a function with a docstring, and add the
103103
feature to the list in README.rst.
104104
3. The pull request should work for Python 2.6, 2.7, 3.3, 3.4 and 3.5, and for PyPy. Check
105-
https://travis-ci.org/mckaymatt/trust_pypi_example/pull_requests
105+
https://travis-ci.org/mckaymatt/rust_pypi_example/pull_requests
106106
and make sure that the tests pass for all supported Python versions.
107107

108108
Tips
109109
----
110110

111111
To run a subset of tests::
112112

113-
$ py.test tests.test_trust_pypi_example
113+
$ py.test tests.test_rust_pypi_example
114114

MANIFEST.in

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ recursive-exclude * *.py[co]
1313
recursive-include docs *.rst conf.py Makefile make.bat *.jpg *.png *.gif
1414

1515
# we only want "release" artifacts, not "debug" artifacts
16-
recursive-include trust_pypi_example/rust/target/release *.so *.dylib *.dll *.lib
17-
recursive-include trust_pypi_example *.h *.c
16+
recursive-include rust_pypi_example/rust/target/release *.so *.dylib *.dll *.lib
17+
recursive-include rust_pypi_example *.h *.c
1818

1919
# inclusing the .rs and .toml files isn't necessary so feel free to remove them.
2020
# This may help if a source dist is needed.
21-
#recursive-include trust_pypi_example *.rs *.toml
21+
#recursive-include rust_pypi_example *.rs *.toml

Makefile

+5-5
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ clean: clean-build clean-pyc clean-test clean-venv ## remove all build, test, co
3434
clean-build: ## remove build artifacts
3535
rm -fr build/
3636
rm -fr dist/
37-
rm -fr trust_pypi_example/rust/target
37+
rm -fr rust_pypi_example/rust/target
3838
rm -fr .eggs/
3939
rm -f *.so *.dylib *.dll
4040
find . -name '*.egg-info' -exec rm -fr {} +
@@ -55,7 +55,7 @@ clean-venv:
5555
rm -rf venv
5656

5757
lint: venv ## check style with flake8
58-
venv/bin/python -m flake8 trust_pypi_example tests
58+
venv/bin/python -m flake8 rust_pypi_example tests
5959

6060
test: venv ## This will use py.test because of pytest-runner
6161
venv/bin/python setup.py check
@@ -70,16 +70,16 @@ test-all: venv ## run tests on every Python version with tox
7070
venv/bin/tox
7171

7272
coverage: venv ## check code coverage quickly with the default Python
73-
venv/bin/python -m coverage run --source trust_pypi_example -m pytest
73+
venv/bin/python -m coverage run --source rust_pypi_example -m pytest
7474

7575
venv/bin/python -m coverage report -m
7676
venv/bin/python -m coverage html
7777
$(BROWSER) htmlcov/index.html
7878

7979
docs: venv ## generate Sphinx HTML documentation, including API docs
80-
rm -f docs/trust_pypi_example.rst
80+
rm -f docs/rust_pypi_example.rst
8181
rm -f docs/modules.rst
82-
venv/bin/python -m sphinx-apidoc -o docs/ trust_pypi_example
82+
venv/bin/python -m sphinx-apidoc -o docs/ rust_pypi_example
8383
$(MAKE) -C docs clean
8484
$(MAKE) -C docs html
8585
$(BROWSER) docs/_build/html/index.html

README.rst

+12-12
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
1-
==================
2-
trust_pypi_example
3-
==================
1+
=================
2+
rust_pypi_example
3+
=================
44

55

6-
.. image:: https://img.shields.io/pypi/v/trust_pypi_example.svg
7-
:target: https://pypi.python.org/pypi/trust_pypi_example
6+
.. image:: https://img.shields.io/pypi/v/rust_pypi_example.svg
7+
:target: https://pypi.python.org/pypi/rust_pypi_example
88

9-
.. image:: https://img.shields.io/travis/mckaymatt/trust_pypi_example.svg
10-
:target: https://travis-ci.org/mckaymatt/trust_pypi_example
9+
.. image:: https://img.shields.io/travis/mckaymatt/rust_pypi_example.svg
10+
:target: https://travis-ci.org/mckaymatt/rust_pypi_example
1111

12-
.. image:: https://readthedocs.org/projects/trust-pypi-example/badge/?version=latest
13-
:target: https://trust-pypi-example.readthedocs.io/en/latest/?badge=latest
12+
.. image:: https://readthedocs.org/projects/rust-pypi-example/badge/?version=latest
13+
:target: https://rust-pypi-example.readthedocs.io/en/latest/?badge=latest
1414
:alt: Documentation Status
1515

16-
.. image:: https://pyup.io/repos/github/mckaymatt/trust_pypi_example/shield.svg
17-
:target: https://pyup.io/repos/github/mckaymatt/trust_pypi_example/
16+
.. image:: https://pyup.io/repos/github/mckaymatt/rust_pypi_example/shield.svg
17+
:target: https://pyup.io/repos/github/mckaymatt/rust_pypi_example/
1818
:alt: Updates
1919

2020

2121
Python Boilerplate contains all the boilerplate you need to create a Python wheel with Rust.
2222

2323

2424
* Free software: Apache Software License 2.0
25-
* Documentation: https://trust-pypi-example.readthedocs.io.
25+
* Documentation: https://rust-pypi-example.readthedocs.io.
2626

2727

2828
Features

appveyor.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,13 @@ test_script:
6767
- ps: >-
6868
Get-ChildItem .\dist\
6969
- ps: >-
70-
Get-ChildItem -R trust_pypi_example\
70+
Get-ChildItem -R rust_pypi_example\
7171
7272
7373
artifacts:
7474
- path: '**\*.whl'
7575
type: File
76-
name: trust_pypi_example
76+
name: rust_pypi_example
7777

7878
deploy:
7979
provider: GitHub
@@ -83,7 +83,7 @@ deploy:
8383
# - Paste the output down here
8484
auth_token:
8585
secure: Z4WsdThBV6yomQH4V2M/T5/q1khChRPklJ+xDILxO34QGwcbqH2H0wlWvX+B+B89
86-
description: "trust_pypi_example"
86+
description: "rust_pypi_example"
8787
on:
8888
# TODO Here you can pick which targets will generate binary releases
8989
# In this example, there are some targets that are tested using the stable

ci/before_deploy.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ set -ex
66

77
main() {
88
# move into rust project subdir
9-
cd trust_pypi_example/rust/
9+
cd rust_pypi_example/rust/
1010

1111
local src=$(pwd) \
1212
stage=

docs/Makefile

+4-4
Original file line numberDiff line numberDiff line change
@@ -85,17 +85,17 @@ qthelp:
8585
@echo
8686
@echo "Build finished; now you can run "qcollectiongenerator" with the" \
8787
".qhcp project file in $(BUILDDIR)/qthelp, like this:"
88-
@echo "# qcollectiongenerator $(BUILDDIR)/qthelp/trust_pypi_example.qhcp"
88+
@echo "# qcollectiongenerator $(BUILDDIR)/qthelp/rust_pypi_example.qhcp"
8989
@echo "To view the help file:"
90-
@echo "# assistant -collectionFile $(BUILDDIR)/qthelp/trust_pypi_example.qhc"
90+
@echo "# assistant -collectionFile $(BUILDDIR)/qthelp/rust_pypi_example.qhc"
9191

9292
devhelp:
9393
$(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp
9494
@echo
9595
@echo "Build finished."
9696
@echo "To view the help file:"
97-
@echo "# mkdir -p $$HOME/.local/share/devhelp/trust_pypi_example"
98-
@echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/trust_pypi_example"
97+
@echo "# mkdir -p $$HOME/.local/share/devhelp/rust_pypi_example"
98+
@echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/rust_pypi_example"
9999
@echo "# devhelp"
100100

101101
epub:

docs/conf.py

+13-13
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env python
22
# -*- coding: utf-8 -*-
33
#
4-
# trust_pypi_example documentation build configuration file, created by
4+
# rust_pypi_example documentation build configuration file, created by
55
# sphinx-quickstart on Tue Jul 9 22:26:36 2013.
66
#
77
# This file is execfile()d with the current directory set to its
@@ -31,7 +31,7 @@
3131
# version is used.
3232
sys.path.insert(0, project_root)
3333

34-
import trust_pypi_example
34+
import rust_pypi_example
3535

3636
# -- General configuration ---------------------------------------------
3737

@@ -55,17 +55,17 @@
5555
master_doc = 'index'
5656

5757
# General information about the project.
58-
project = u'trust_pypi_example'
58+
project = u'rust_pypi_example'
5959
copyright = u"2017, Matt McKay"
6060

6161
# The version info for the project you're documenting, acts as replacement
6262
# for |version| and |release|, also used in various other places throughout
6363
# the built documents.
6464
#
6565
# The short X.Y version.
66-
version = trust_pypi_example.__version__
66+
version = rust_pypi_example.__version__
6767
# The full version, including alpha/beta/rc tags.
68-
release = trust_pypi_example.__version__
68+
release = rust_pypi_example.__version__
6969

7070
# The language for content autogenerated by Sphinx. Refer to documentation
7171
# for a list of supported languages.
@@ -188,7 +188,7 @@
188188
#html_file_suffix = None
189189

190190
# Output file base name for HTML help builder.
191-
htmlhelp_basename = 'trust_pypi_exampledoc'
191+
htmlhelp_basename = 'rust_pypi_exampledoc'
192192

193193

194194
# -- Options for LaTeX output ------------------------------------------
@@ -208,8 +208,8 @@
208208
# (source start file, target name, title, author, documentclass
209209
# [howto/manual]).
210210
latex_documents = [
211-
('index', 'trust_pypi_example.tex',
212-
u'trust_pypi_example Documentation',
211+
('index', 'rust_pypi_example.tex',
212+
u'rust_pypi_example Documentation',
213213
u'Matt McKay', 'manual'),
214214
]
215215

@@ -239,8 +239,8 @@
239239
# One entry per manual page. List of tuples
240240
# (source start file, name, description, authors, manual section).
241241
man_pages = [
242-
('index', 'trust_pypi_example',
243-
u'trust_pypi_example Documentation',
242+
('index', 'rust_pypi_example',
243+
u'rust_pypi_example Documentation',
244244
[u'Matt McKay'], 1)
245245
]
246246

@@ -254,10 +254,10 @@
254254
# (source start file, target name, title, author,
255255
# dir menu entry, description, category)
256256
texinfo_documents = [
257-
('index', 'trust_pypi_example',
258-
u'trust_pypi_example Documentation',
257+
('index', 'rust_pypi_example',
258+
u'rust_pypi_example Documentation',
259259
u'Matt McKay',
260-
'trust_pypi_example',
260+
'rust_pypi_example',
261261
'One line description of project.',
262262
'Miscellaneous'),
263263
]

docs/index.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Welcome to trust_pypi_example's documentation!
1+
Welcome to rust_pypi_example's documentation!
22
======================================
33

44
Contents:

docs/installation.rst

+8-8
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ Installation
88
Stable release
99
--------------
1010

11-
To install trust_pypi_example, run this command in your terminal:
11+
To install rust_pypi_example, run this command in your terminal:
1212

1313
.. code-block:: console
1414
15-
$ pip install trust_pypi_example
15+
$ pip install rust_pypi_example
1616
17-
This is the preferred method to install trust_pypi_example, as it will always install the most recent stable release.
17+
This is the preferred method to install rust_pypi_example, as it will always install the most recent stable release.
1818

1919
If you don't have `pip`_ installed, this `Python installation guide`_ can guide
2020
you through the process.
@@ -26,19 +26,19 @@ you through the process.
2626
From sources
2727
------------
2828

29-
The sources for trust_pypi_example can be downloaded from the `Github repo`_.
29+
The sources for rust_pypi_example can be downloaded from the `Github repo`_.
3030

3131
You can either clone the public repository:
3232

3333
.. code-block:: console
3434
35-
$ git clone git://github.com/mckaymatt/trust_pypi_example
35+
$ git clone git://github.com/mckaymatt/rust_pypi_example
3636
3737
Or download the `tarball`_:
3838

3939
.. code-block:: console
4040
41-
$ curl -OL https://github.com/mckaymatt/trust_pypi_example/tarball/master
41+
$ curl -OL https://github.com/mckaymatt/rust_pypi_example/tarball/master
4242
4343
Once you have a copy of the source, you can install it with:
4444

@@ -47,5 +47,5 @@ Once you have a copy of the source, you can install it with:
4747
$ python setup.py install
4848
4949
50-
.. _Github repo: https://github.com/mckaymatt/trust_pypi_example
51-
.. _tarball: https://github.com/mckaymatt/trust_pypi_example/tarball/master
50+
.. _Github repo: https://github.com/mckaymatt/rust_pypi_example
51+
.. _tarball: https://github.com/mckaymatt/rust_pypi_example/tarball/master

0 commit comments

Comments
 (0)