Skip to content

Commit df2258a

Browse files
committed
Merge branch 'develop'
2 parents dcff178 + 4c99a60 commit df2258a

File tree

20 files changed

+160
-81
lines changed

20 files changed

+160
-81
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,4 @@ target/
6161
# Virtualenv
6262
venv
6363

64+
.idea

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
deploy:
33
true:
44
condition: $TOXENV == py27
5-
repo: Typecraft/tc_xml_python
5+
repo: Typecraft/typecraft_python
66
tags: true
77
distributions: sdist bdist_wheel
88
password:

CONTRIBUTING.rst

Lines changed: 10 additions & 10 deletions
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/Typecraft/tc_xml_python/issues.
18+
Report bugs at https://github.com/Typecraft/typecraft_python/issues.
1919

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

@@ -45,7 +45,7 @@ articles, and such.
4545
Submit Feedback
4646
~~~~~~~~~~~~~~~
4747

48-
The best way to send feedback is to file an issue at https://github.com/Typecraft/tc_xml_python/issues.
48+
The best way to send feedback is to file an issue at https://github.com/Typecraft/typecraft_python/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 `tc_xml_python` for local development.
60+
Ready to contribute? Here's how to set up `typecraft_python` for local development.
6161

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

65-
$ git clone git@github.com:your_name_here/tc_xml_python.git
65+
$ git clone git@github.com:your_name_here/typecraft_python.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 tc_xml_python
70-
$ cd tc_xml_python/
69+
$ mkvirtualenv typecraft_python
70+
$ cd typecraft_python/
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 `tc_xml_python` for local development.
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 tc_xml_python tests
81+
$ flake8 typecraft_python 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/Typecraft/tc_xml_python/pull_requests
105+
https://travis-ci.org/Typecraft/typecraft_python/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_tc_xml_python
113+
$ py.test tests.test_typecraft_python
114114

README.rst

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,33 @@
11
===============================
2-
Typecraft XML Python
2+
Typecraft Python
33
===============================
44

55

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

9-
.. image:: https://img.shields.io/travis/Typecraft/tc_xml_python.svg
10-
:target: https://travis-ci.org/Typecraft/tc_xml_python
9+
.. image:: https://img.shields.io/travis/Typecraft/typecraft_python.svg
10+
:target: https://travis-ci.org/Typecraft/typecraft_python
1111

12-
.. image:: https://readthedocs.org/projects/tc-xml-python/badge/?version=latest
13-
:target: https://tc-xml-python.readthedocs.io/en/latest/?badge=latest
12+
.. image:: https://readthedocs.org/projects/typecraft_python/badge/?version=latest
13+
:target: https://typecraft_python.readthedocs.io/en/latest/?badge=latest
1414
:alt: Documentation Status
1515

16-
.. image:: https://pyup.io/repos/github/Typecraft/tc_xml_python/shield.svg
17-
:target: https://pyup.io/repos/github/Typecraft/tc_xml_python/
16+
.. image:: https://pyup.io/repos/github/Typecraft/typecraft_python/shield.svg
17+
:target: https://pyup.io/repos/github/Typecraft/typecraft_python/
1818
:alt: Updates
1919

2020

2121
Lightweight implementation of the Typecraft XML format in python.
2222

2323

2424
* Free software: MIT license
25-
* Documentation: https://tc-xml-python.readthedocs.io.
25+
* Documentation: https://typecraft_python.readthedocs.io.
2626

2727
Installation
2828
--------
2929

30-
pip install tc_xml_python
30+
pip install typecraft_python
3131

3232

3333
Features

docs/conf.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env python
22
# -*- coding: utf-8 -*-
33
#
4-
# tc_xml_python documentation build configuration file, created by
4+
# typecraft_python 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 tc_xml_python
34+
import typecraft_python
3535

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

@@ -63,9 +63,9 @@
6363
# the built documents.
6464
#
6565
# The short X.Y version.
66-
version = tc_xml_python.__version__
66+
version = typecraft_python.__version__
6767
# The full version, including alpha/beta/rc tags.
68-
release = tc_xml_python.__version__
68+
release = typecraft_python.__version__
6969

7070
# The language for content autogenerated by Sphinx. Refer to documentation
7171
# for a list of supported languages.
@@ -208,7 +208,7 @@
208208
# (source start file, target name, title, author, documentclass
209209
# [howto/manual]).
210210
latex_documents = [
211-
('index', 'tc_xml_python.tex',
211+
('index', 'typecraft_python.tex',
212212
u'Typecraft XML Python Documentation',
213213
u'Tormod Haugland', 'manual'),
214214
]
@@ -239,7 +239,7 @@
239239
# One entry per manual page. List of tuples
240240
# (source start file, name, description, authors, manual section).
241241
man_pages = [
242-
('index', 'tc_xml_python',
242+
('index', 'typecraft_python',
243243
u'Typecraft XML Python Documentation',
244244
[u'Tormod Haugland'], 1)
245245
]
@@ -254,10 +254,10 @@
254254
# (source start file, target name, title, author,
255255
# dir menu entry, description, category)
256256
texinfo_documents = [
257-
('index', 'tc_xml_python',
257+
('index', 'typecraft_python',
258258
u'Typecraft XML Python Documentation',
259259
u'Tormod Haugland',
260-
'tc_xml_python',
260+
'typecraft_python',
261261
'One line description of project.',
262262
'Miscellaneous'),
263263
]

setup.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
[bumpversion]
2-
current_version = 0.3.1
2+
current_version = 0.3.2
33
commit = True
44
tag = True
55

66
[bumpversion:file:setup.py]
77
search = version='{current_version}'
88
replace = version='{new_version}'
99

10-
[bumpversion:file:tc_xml_python/__init__.py]
10+
[bumpversion:file:typecraft_python/__init__.py]
1111
search = __version__ = '{current_version}'
1212
replace = __version__ = '{new_version}'
1313

setup.py

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,35 +10,27 @@
1010
history = history_file.read()
1111

1212
requirements = [
13-
'Click>=6.0',
14-
# TODO: put package requirements here
1513
]
1614

1715
test_requirements = [
18-
# TODO: put package test requirements here
1916
]
2017

2118
setup(
22-
name='tc_xml_python',
23-
version='0.3.1',
19+
name='typecraft_python',
20+
version='0.3.2',
2421
description="Lightweight implementation of the Typecraft XML format in python.",
2522
long_description=readme + '\n\n' + history,
2623
author="Tormod Haugland",
2724
author_email='tormod.haugland@gmail.com',
28-
url='https://github.com/Typecraft/tc_xml_python',
25+
url='https://github.com/Typecraft/typecraft_python',
2926
packages=find_packages(),
30-
package_dir={'tc_xml_python':
31-
'tc_xml_python'},
32-
entry_points={
33-
'console_scripts': [
34-
'tc_xml_python=tc_xml_python.cli:main'
35-
]
36-
},
27+
package_dir={'typecraft_python':
28+
'typecraft_python'},
3729
include_package_data=True,
3830
install_requires=requirements,
3931
license="MIT license",
4032
zip_safe=False,
41-
keywords='tc_xml_python',
33+
keywords='typecraft_python',
4234
classifiers=[
4335
'Development Status :: 3 - Alpha',
4436
'Intended Audience :: Developers',

tc_xml_python/cli.py

Lines changed: 0 additions & 14 deletions
This file was deleted.

tests/test_basic.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import tc_xml_python
1+
import typecraft_python
22

33

44
class TestBasic(object):
@@ -7,6 +7,6 @@ def setup_class(cls):
77
pass
88

99
def test_variables_exist(self):
10-
assert tc_xml_python.__author__ is not None
11-
assert tc_xml_python.__email__ is not None
12-
assert tc_xml_python.__version__ is not None
10+
assert typecraft_python.__author__ is not None
11+
assert typecraft_python.__email__ is not None
12+
assert typecraft_python.__version__ is not None

tests/test_models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from tc_xml_python.models import Text, Phrase, Word, Morpheme
1+
from typecraft_python.models import Text, Phrase, Word, Morpheme
22

33

44
class TestModels(object):

0 commit comments

Comments
 (0)