Merge pycapnp-async into pycapnp

- Remove references to pycapnp-async
- Cleanup README.md and setup.py
This commit is contained in:
Jacob Alexander
2019-12-11 22:20:44 -08:00
parent 463ac3c48d
commit 795a0d88eb
2 changed files with 16 additions and 20 deletions

View File

@@ -1,6 +1,8 @@
# pycapnp-async # pycapnp
[![Actions Status](https://github.com/haata/pycapnp-async/workflows/Python%20Test%20Packaging/badge.svg)](https://github.com/haata/pycapnp-async/actions) [![Actions Status](https://github.com/capnproto/pycapnp/workflows/Python%20Test%20Packaging/badge.svg)](https://github.com/capnproto/pycapnp/actions)
[Cap'n'proto Mailing List](https://groups.google.com/forum/#!forum/capnproto)
## Requirements ## Requirements
@@ -23,13 +25,13 @@ pycapnp has additional development dependencies, including cython and pytest. Se
## Building and installation ## Building and installation
Install with `pip install pycapnp-async`. You can set the CC environment variable to control which compiler is used, ie `CC=gcc-8.2 pip install pycapnp-async`. Install with `pip install pycapnp`. You can set the CC environment variable to control which compiler is used, ie `CC=gcc-8.2 pip install pycapnp`.
Or you can clone the repo like so: Or you can clone the repo like so:
```bash ```bash
git clone https://github.com/haata/pycapnp-async.git git clone https://github.com/capnproto/pycapnp.git
cd pycapnp-async cd pycapnp
pip install . pip install .
``` ```
@@ -82,13 +84,6 @@ python setup.py bdist_wheel
``` ```
### Pypi Upload Instructions
Only necessary if uploading release to pypi.org.
TODO
## Documentation/Example ## Documentation/Example
There is some basic documentation [here](http://jparyani.github.io/pycapnp/). There is some basic documentation [here](http://jparyani.github.io/pycapnp/).

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env python #!/usr/bin/env python
''' '''
pycapnp-async distutils setup.py pycapnp distutils setup.py
''' '''
from __future__ import print_function from __future__ import print_function
@@ -29,7 +29,7 @@ VERSION = '%d.%d.%d' % (MAJOR, MINOR, MICRO)
# Write version info # Write version info
def write_version_py(filename=None): def write_version_py(filename=None):
''' '''
Generate pycapnp-async version Generate pycapnp version
''' '''
cnt = """\ cnt = """\
version = '%s' version = '%s'
@@ -176,7 +176,7 @@ extensions = [Extension(
)] )]
setup( setup(
name="pycapnp-async", name="pycapnp",
packages=["capnp"], packages=["capnp"],
version=VERSION, version=VERSION,
package_data={ package_data={
@@ -195,14 +195,14 @@ setup(
'console_scripts' : ['capnpc-cython = capnp._gen:main'] 'console_scripts' : ['capnpc-cython = capnp._gen:main']
}, },
# PyPi info # PyPi info
description="A cython wrapping of the C++ Cap'n Proto library with support for asyncio", description="A cython wrapping of the C++ Cap'n Proto library",
long_description=long_description, long_description=long_description,
license='BSD', license='BSD',
author="Jacob Alexander", author="Jacob Alexander", # <- Current maintainer; Original author -> Jason Paryani (setup.py only supports 1 author...)
author_email="haata@kiibohd.com", author_email="haata@kiibohd.com",
url='https://github.com/haata/pycapnp-async', url='https://github.com/capnproto/pycapnp',
download_url='https://github.com/haata/pycapnp-async/archive/v%s.zip' % VERSION, download_url='https://github.com/haata/pycapnp/archive/v%s.zip' % VERSION,
keywords=['capnp', 'capnproto', "Cap'n Proto", 'pycapnp', 'pycapnp-async'], keywords=['capnp', 'capnproto', "Cap'n Proto", 'pycapnp'],
classifiers=[ classifiers=[
'Development Status :: 4 - Beta', 'Development Status :: 4 - Beta',
'Intended Audience :: Developers', 'Intended Audience :: Developers',
@@ -213,6 +213,7 @@ setup(
'Programming Language :: C++', 'Programming Language :: C++',
'Programming Language :: Cython', 'Programming Language :: Cython',
'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: Implementation :: PyPy', 'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Communications'], 'Topic :: Communications'],
) )