File tree Expand file tree Collapse file tree 2 files changed +9
-10
lines changed Expand file tree Collapse file tree 2 files changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -9,10 +9,6 @@ script: nosetests
9
9
deploy :
10
10
provider : pypi
11
11
username : __token__
12
- skip_cleanup : true
13
12
skip_existing : true
14
13
on :
15
14
branch : main
16
- before_deploy :
17
- # set different name for pypi upload
18
- - sed -i -e 's/NAME = "leetcode"/NAME = "python-leetcode"/g' setup.py
Original file line number Diff line number Diff line change 9
9
Contact: pv.safronov@gmail.com
10
10
Generated by: https://github.com/swagger-api/swagger-codegen.git
11
11
"""
12
+ import os
12
13
13
- from setuptools import setup , find_packages # noqa: H301
14
+ from setuptools import find_packages , setup # noqa: H301
15
+
16
+ NAME = "python-leetcode"
17
+ VERSION = "1.0.1"
18
+
19
+ with open ("README.md" ) as readme :
20
+ DESCRIPTION = readme .read ()
14
21
15
- NAME = "leetcode"
16
- VERSION = "1.0.0"
17
22
# To install the library, run the following
18
23
#
19
24
# python setup.py install
33
38
install_requires = REQUIRES ,
34
39
packages = find_packages (),
35
40
include_package_data = True ,
36
- long_description = """\
37
- Leetcode API implementation. # noqa: E501
38
- """
41
+ long_description = DESCRIPTION ,
39
42
)
You can’t perform that action at this time.
0 commit comments