Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Builds and publishes standard PyPi source and wheel distributions. #21

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions package4pypi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ rm --verbose --force --recursive dist/faster_than_csv/
rm --verbose --force --recursive dist/faster_than_csv/__pycache__/
rm --verbose --force --recursive faster_than_csv/htmldocs/
cp --verbose --recursive faster_than_csv dist/
python setup.py sdist bdist_wheel
cd dist && zip -9 -T -v -r faster_than_csv.zip *
44 changes: 44 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# See: https://setuptools.readthedocs.io/en/latest/setuptools.html#metadata
[options]
zip_safe = True
python_requires = >=3.6
install_requires = nimporter
setup_requires = choosenim_install
packages = faster_than_csv

[metadata]
name = faster_than_csv
provides = faster_than_csv
description = Faster & simpler CSV replacement for Python.
url = https://github.com/juancarlospaco
author = Juan Carlos
author_email = UNKNOWN
maintainer = Juan Carlos
maintainer_email = UNKNOWN
keywords = python3, python4, cpython, speed, cython, rust, wasm, c, performance, compiled, native, fast, nim, csv, pandas, argentina
license = MIT
platforms = Linux, Darwin, Windows
license_file = LICENSE
long_description = file: README.md
long_description_content_type = text/markdown
classifiers =
Development Status :: 5 - Production/Stable
Environment :: Console
Environment :: Other Environment
Intended Audience :: Developers
Intended Audience :: Other Audience
Natural Language :: English
Operating System :: OS Independent
Operating System :: POSIX :: Linux
Operating System :: Microsoft :: Windows
Operating System :: MacOS :: MacOS X
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: Implementation :: CPython
Topic :: Software Development
version = 21.05.10
31 changes: 31 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
import setuptools

with open('README.md') as readme_file:
readme = readme_file.read()

setuptools.setup(
long_description=readme,
long_description_content_type="text/markdown",
name="faster_than_csv",
author="Juan_Carlos.nim",
download_url="https://github.com/juancarlospaco",
author_email="UNKNOWN",
url="https://github.com/juancarlospaco/faster-than-csv",
project_urls={
'Homepage': 'https://nim-lang.org',
'For Python Devs': 'https://github.com/nim-lang/Nim/wiki/Nim-for-Python-Programmers',
'For TypeScript Devs': 'https://github.com/nim-lang/Nim/wiki/Nim-for-TypeScript-Programmers',
'Forum': 'https://nim-lang.org',
'Twitter': 'https://twitter.com/nim_lang',
'Reddit': 'https://reddit.com/r/nim',
'StackOverflow': 'https://stackoverflow.com/questions/tagged/nim-lang',
'Discord': 'https://discord.gg/ezDFDw2',
'Telegram': 'https://t.me/nim_lang',
'Matrix': 'https://matrix.to/#/#freenode_#nim:matrix.org',
'Argentina Chat Spanish': 'https://t.me/NimArgentina',
'Dev Documentation Index': 'https://nim-lang.github.io/Nim/theindex.html',
'Tutorial': 'https://nim-lang.github.io/Nim/tut1.html',
},
platforms=['Linux', 'Windows', 'Darwin'],
package_data={"": ["*.nim", "*.nims", "*.cfg", "*.dll", "*.so", "*.h", "*.hpp"]},
)
2 changes: 1 addition & 1 deletion upload2pypi.sh
Original file line number Diff line number Diff line change
@@ -1 +1 @@
twine upload --verbose --comment 'Powered by https://Nim-lang.org' dist/*.zip
twine upload --verbose --comment 'Powered by https://Nim-lang.org' dist/*.zip dist/*.tar.gz dist/*.whl