Skip to content

Commit 770de1b

Browse files
committed
Added pipy setup file
1 parent a22dc25 commit 770de1b

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

setup.py

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
from setuptools import setup, find_packages
2+
import configrw
3+
4+
5+
with open('README.md', 'r') as f:
6+
long_description = f.read()
7+
8+
9+
setup(
10+
name='configrw',
11+
version=configrw.__version__,
12+
description='ConfigRW is a simple reader and writer config files based on key-value or INI-structure.',
13+
# The long_description is used in pypi.org as the README description of your package
14+
long_description=long_description,
15+
long_description_content_type="text/markdown",
16+
license='MIT',
17+
author='microcoder',
18+
# author_email='[email protected]',
19+
url='https://github.com/microcoder/configrw',
20+
packages=find_packages(), # packages=['configrw'], # same as name
21+
# install_requires=['bar', 'greek'], # external packages as dependencies
22+
)
23+
24+
# 1. Make pypi-package:
25+
# python setup.py sdist
26+
# 2. Upload package in test repository:
27+
# python -m twine upload -r testpypi dist/configrw-1.0.0.tar.gz
28+
# 3. Upload package in real repository:
29+
# python -m twine upload -r pypi dist/configrw-1.0.0.tar.gz

0 commit comments

Comments
 (0)