File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed
Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments